.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Create Custom Blog Posts View

Posted By:      Posted Date: May 22, 2011    Points: 0   Category :C#

The standrad view shows the posts with the comments hidden, only the amount of comments is showed. We would like to create a view where both the posts and the comments under it are shown. I have not found a way. Did anybody else? :)


View Complete Post

More Related Resource Links

How to create a custom view in SharePoint 2010?

I can't find a good answer for this with the 15 minutes of searching I have done. Makes me think that there might be some roadblocks here.  I want to create a custom view for a list in sharepoint. Basically, I want to conditionally apply some custom table row formatting based on a value of a column in that row  conditionally add an image along with a text in a column (again based on a column value) I am thinking that a custom view is the way to go...any direction on this? maybe a link to a good example? Thanks, Jake.

Blog category view not showing any posts?

Is there something i need to do for the category specific views of posts?I have the categories webpart, and people are adding their posts to 1 or more categories, but when clicking on one of the categories it shows no posts what-so-ever.  THe only posts that do show are ones where I remove all categories.I have tried editing the current view and typing the category name in and that works, I am assuming that the category should be put into that field from the query string by the webpart??? or is there something i need to do??Thx for all help offered.

Sharepoint Foundation - Create and deploy custom edit/view forms for external lists


Firstly, we are using sharepoint foundation so Infopath forms are not an option for us.

We have a Visual Studio sharepoint project which deploys a complete sharepoint site. The site contains a number of external lists and we want to be able to create customised view/edit forms for these lists and add them to our Visual Studio project so they can be deployed as part of the new site. The idea is that we can deploy the solution to a fresh site with a default set of forms which can then be customised for different implementations of the site.

Here's the steps we have been using to try and do this:

1. Deploy the base project (BDC) to the sharepoint site

2. Create external lists based on the BDC content types

3. Use Sharepoint Designer to create new edit/view forms for the lists and set these as the default forms for the list

3. Save the site as a template

4. Import the template into a new Visual Studio project and select the lists we require. This gives us a List Definition, a pages module (with element file), an elements file and a schema file (both for the List Instance).

5. We then add the contents of the imported project to our main solution as follows:

  • Create a new List Definition (including List Instance)
  • Copy the contents of the imported Elements.xml to the Elements file for our List Instance.

How to create a custom content type with own custom view ,add, edit and delete form in sharepoint fo


How to create a custom content type with own custom view ,add, edit and delete form in sharepoint foundation server 2010 using visual studio 2010?

I donot want to use default form "form.aspx".

we can use my custom form in place of "form.aspx"?

How do I adjust the # of posts visible on the main page of a blog? Summary view?


So while I love the basic summary view used by the blog, I would like to limit the main page to showing just the 5 most recent updates.  Most views this is easy to edit by adjusting the item limit on the list, but since the Summary view of the posts list doesn't show up anywhere I am unsure where I can set the limit.

I have looked at the editable views in designer but again I do not see the Summary view listed anywnere.  Help


Create a custom view for a survey


What I want to do is pretty simple... I think but I got some trouble with part of it.

My goal (for a proof of concept) is to create a new custom view for a Survey in Sharepoint 2010.

What I have done:

Create the survey list

Open the list in SPDesigner (SPD)

Create a new view for that list based on the default one (Overview.aspx)

Open that new view in advanced edit mode (not sure why but the Customize XSLT doesn't work in normal mode)

Click Customize Entire View.

Change the text Survey Name: for Name: (this is just a minor edit as it will be easier to explain and I encounter the same problem)

Save the view and open it in the browser.


My problem is that my new view doesn't have the toolbar (which contains Respond to this survey, Actions, Settings, etc.). The view in the XSLTListViewWebPart still has the toolbar markup:

                <Toolbar Type="Standard"/>

Except for a bunch of XSL which was imported in the page file with the customization, both MyView.aspx (first code sample) and Overview.aspx (second sample) have exactly the same markup. I only copied relevant parts because of length

What am I doing wrong?

<asp:Content ContentPlaceHolderId="PlaceHolderMain&quo

Blog permissions, who can view posts


I'd like to be able to filter my blog posts in such a way that if you are in the admins group you see posts tagged with the content admin, and if you are not in that group you don't see those posts. I cannot figure out how to accomplish this. What I did do that seems to work (but it's a lot of leg work) was to create the groups for my blog (members owners and visitors) visitors have read access. I go into each post, break inheritence, remove authenticated users and visitors, then visitors can't see those posts. I tried creating two categories (visitors and admins) I removed authenticated users from the permissions of the admin category and tagged some posts with that category. When i log in as a regular user I can still see all of the posts. Is there an easy way to do this? Am I just overlooking something?



Create custom blog site definition



I need to create a custom site definition for Blog(SharePoint 2010) using visual studio 2010. So can anyone please provide the steps to create that? Thanks in advance.


how to change the layout of the blog or create custom blog in visual studio for sharepoint 2007


i want to change the layout of the blog display in the following  layout of display

<TABLE border=0 rules=none cellspacing=0 cellpadding=2>

    <TR vAlign=top>

      <TD height=95 rowspan=2 width=95 align=middle><A href="<SOURCE URL>" target=”_blank”><IMG border=0 src="<PICTURE URL>"></A></TD>

      <TD><STRONG>Source: <A href="<SOURCE URL>" target=”_blank”><SOURCE NAME></A> | </strong><A href="<SOURCE URL>" target=”_blank”>Rea

Custom Control Design view error



I have created a custom control from scratch and it works fine as in you can build the project that uses it and it works fine at runtime. Problem is when you go to design view the control shows an error in the place of where the control should be rendered.

Error: '<SomeValue>' Could not be set to '<SomeProperty>'

This shows up on all my custom set properties. These properties are created as basic as possible. I can give the properties values in Source view and run the app just fine. I can even add a Onclick event. If I don't set any custom properties the control will render fine in Design view. It's only when I set a value to a custom property.

Property Code Example:

public string Text
                string ret = "";
                object obj = ViewState["Text"];
                if (obj != null)
                    ret = obj.ToString();
                return ret;
                ViewState["Text"] = value;

I've even removed the Category and Description tags with no difference.

I don't know if what I said makes sens, but I hope it

Silverlight: Create a Custom Expression Encoder Publishing Plug-In


Laurence Moroney demonstrates how to employ the Expression Encoder plug-in APIs by building and debugging a simple FTP upload plug-in.

Laurence Moroney

MSDN Magazine February 2008

Fuzz Testing: Create a Custom Test Interface Provider for Team System


Dan Griffin shows the extensibility of Visual Studio 2005 Team Edition for Software Testers by discussing the modification of the existing Test Interface Provider sample in the latest Visual Studio SDK and implements Fuzz Testing.

Dan Griffin

MSDN Magazine November 2007

Smarter Art: Create Custom SmartArt Graphics For Use In The 2007 Office System


SmartArt incorporates a gallery of templates and predefined shapes that can quickly be inserted and configured in your Microsoft Office documents. Find out how.

Janet Schorr

MSDN Magazine February 2007

Desktop Security: Create Custom Login Experiences With Credential Providers For Windows Vista


Why is a change to the Windows logon plug-in interface so exciting? Because with credential providers you can customize the logon experience for your users.

Dan Griffin

MSDN Magazine January 2007

The Perfect Host: Create And Host Custom Designers With The .NET Framework 2.0


The .NET Framework 2.0 introduces a set of classes that can be used to host designers right out of the box. With the understanding of designers you'll glean from this article, you'll be ready to host them in your own apps.

Dinesh Chandnani

MSDN Magazine March 2006

.NET Remoting: Create a Custom Marshaling Implementation Using .NET Remoting and COM Interop


The .NET Framework offers several methods for customizing the presentation of native .NET and COM object types. One such technique, custom marshaling, refers to the notion of specializing object type presentations. There are times, like when a legacy COM component needs to implement a new interface or when you need to make calls across process or machine boundaries, when custom marshaling saves the day. Elements of COM Interop permit the customizing of COM types while .NET Remoting offers the developer the ability to tailor native .NET types. This article examines these techniques.

Jim Sievert

MSDN Magazine September 2003

DirectShow: Core Media Technology in Windows XP Empowers You to Create Custom Audio/Video Processing


DirectShow is an API that enables Windows applications to control a wide variety of audio/video input devices including (but not limited to) DV camcorders, Web cams, DVD drives, and TV tuner cards. It provides out-of-the-box support for a variety of formats, from WAV and AVI to Windows Media. DirectShow is also extensible, enabling third parties to support their own specialized devices, formats, or processing components. This article introduces the basic concepts behind DirectShow and gives a step-by-step tutorial showing how to create your own video effect filter.

Michael Blome and Mike Wasson

MSDN Magazine July 2002

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend