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

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

How to display newest blog items?

Posted By:      Posted Date: September 14, 2010    Points: 0   Category :SharePoint
Hi, I created a site with a blog subsite. In my site I want to display the newest blogs. Thought this was fairly straight forward but I cannot figure it out. Any body an idea? If so is it also possible to display a certain Category of blogs? Thnx!

View Complete Post

More Related Resource Links

How to display recent blog posts in marquee up tag?


I need to display recent blog post in the blog site to the right panel.

i am able to display all the title of the posts using dataview. What i need is that it should scroll up, that is all the contents should be in the : Marquee direction="up" tag.

how can i scroll the recent post's?


Display tooltip for Sharepoint list items


Hi All,

I am using MOSS 2007 and my requirement is to show tooltip when I hover the mouse over the title column for each item. I am planning on storing the tooltip string for each listitem in a seperate column. Is there a way to do it. I am sure there is. Any help is greatly appreciated.

Thanks in advance!




Get related item id in task list to display all task items related to this item

this is my scenario i have a document library with customized workflow in this workflow i have 6 collect data from user all of them have description feild i need when user display any item in library to view all of its description feilds related to this document as its meta data   sooo any idea

web part to display recent changes on all items in site

Hi, Is there any web part like content Query to list all the changes made to the site say document uploaded, deleted, users added on the home page in SharePoint 2010 sites? If there is any third party web part also, please let me know.   Regards, Garima

Display selected items total in gridview footer


Hi all,

           I will have a gridview with checkboxes and some amount fields. I would like to display the sum of the amount in gridview footer depending on the checked items by the user. Can any one give me a sample code

Display number of items for each metadata in navigation.



Is it possible to display the count of number of documents for specific keyword category in library's metadata navigation? For instance - Draft (1), Approved (0) - or if categories with no documents were not shown at all.


Adding windows forms controls to the display of list items



I'm new to Sharepoint development, and was wondering if I could get some brief pointers to get me going in the right direction.  I'm required to add a button to list items that on submit does some manipulation of the data in the fields inside the item and then sends that data off to an external webservice.  The complexity is sufficient to warrant managed code, i.e. C#.

What I'd like to know is how to approach integrating this code into Sharepoint.  I've read about web parts, but viewing list items doesn't involve web part pages on my installation so I can't include my own.  What other ways are there of doing this?

Cheers all

JQuery - How to display three items per row ?


Hi everyone,

Can you please modify the following code so that it can display three items per row ?



<table id="RSSTable" cellspacing="0">

    {#foreach $T.d as post}
      <td><a href="./ProductDetail.aspx?ProductId={$T.post.ProductId}">{$T.post.FName}</a></td>

How to Hide Ribbon items for visitors in Sharepoint 2010 Blog


Hi ,

I want to hide site actions button in Sharepoint Blog for users with visitors access . I can see that it's not appearing for viewers in Publishing site but it's coming up for Blog.  Is there a way to hide it for visitors(Viewers access).



Display cart items in master file


We have a section of our site that allows you to add items to a cart, nothing to sell.. just keep while you are on the site and can go back to..

On the page that you have that ability to add items, i also have a label that displays the number of items.. Now that we are going to go live with this, thay have moved the count to the menu, but the menu is within the Site.Master file, so its not being populated. But it works fine on the page where you can add items..


So what can i do to accomplish the task of displaying the total number from my master file, right now you can only see the accurate number on the page you add to cart.. once you select another page, you dont have it anymore..


This is within my event for the "Add to Cart" button, this works, because the label is on this page. But now the label is within the master file and even though the below works, the number doesnt update on the menu .


            foreach (GridViewRow row in GridView1.Rows)
                CheckBox chk = (CheckBox)row.FindControl("ckbSelect");
                Label lblID = (Label)row.FindControl("lblID");
                if (chk.Checked)

Custom comments display webpart for Blog



I wrote a custom webpart to display the comments made on any post of blog (eg: <blog>/List/Posts/Post.aspx?ID=3)

Now two things:

1. Comments list does not have any post-Id, It has post-title with Lookup type. which stores complete title of post which this comment blongs to. While in URL i am getting Post ID. How may i filter the comments ? 

2. How may i check that if logged in user has Admin rights ? Because I want to display "Edit" with each comment if logged in user has Admin rights.

Thanks in advance.

display first five items in webpart and remaing should be in another webpart



I am having page document library in that i am having 10 pages.

i want show first 5 pages in a webpart and remaining should be another webpart.

And i want put these webpart in that pages.when i am in any one of those page,that webpart can filter the page that should not display in the webpart.

appreciate your help

Display "allow multiple selection" column data as multiple items


I have a list that contains secretary assignments. There is only 2 columns. The secretary column is person/group lookup column and the attorneys column is also a person/group lookup column but "allow multiple selections". Here is a sample of item:

Secretary: Lisa White

Attorney: Joe Smith; John Fox; Michael Wrox.

I would like to create a view that display as

Attorney            Secretary

Joe Smith          Lisa White

John Fox           Lisa While

Michael Wrox    Lisa While

I know the out of box view will not let me do that . I just wonder if there is a work-around solution. Many thanks.


How to display the latest list items in the data view webpart

Hi Guys,

I am pretty new to the SharePoint designer. So don't know much of its capabilities.

I am creating a dataview webpart which display the data from the sharepoint list. In this webpart, i have to display data only for last created date means if we have data in list for 12th, 13th, 14th and 15th march data view display data for date 15th march.
I tried using the simple filter with current date but that not worked. Any idea how we can achieve this.

Thanks in advance,
Thanks, Cool Developer

Display data from two lists in a single Data View - how to edit/delete/view items?


I have an aggregate dataview from two lists. (something like this http://office.microsoft.com/en-us/sharepoint-designer-help/display-data-from-multiple-sources-in-a-single-data-view-HA010099144.aspx#BM3)

The problem is, that when I click on "Data view properties", the options in Editing tab (edit link, delete link and view link) are greyed out.

 I'd like to create custom delete/edit/view link for rows in that dataview with linked source. Any idea?

Display single item from List using XSLT and show total count of all items in list


I have a simple SharePoint 2010 list named "Tips". Each item consists of a Title and Description. I want to display a single item at a time in a sidebar on my site with arrows to advance to the next or previous item in the list. I've been able to accomplish this pretty easily using OOTB SharePoint XSLT list view web part settings and AJAX. However, when I tell the web part to only display 1 item at a time the pager always says it's showing item "1 of 1" or "2 of 2". It won't show the total number of items from the list. I'd like it to show something like item "1 of 25", etc. How do I get it to display the total count of items from the list?  I've looked at possibly using aggregation attributes on a FieldRef but I've not been able to get anything to work. I'm not even sure that's the right place to be looking. I'm needing to accomplish this without writing a custom web part. 


Display number of blogs posted by author in sharepoint blog


i have a requirement to disply no of blogs been posted by author for standard sharepoint blog.
I am using dataview webpart to disply the blog central content.
Can anyone suggest, how we can get the no of blogs been posted and disply in dataview?

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