RSS

Tag Archives: List

Access List data using LINQ in SharePoint 2010


Here is a  great Article  by Franck Rice from Microsoft to develop and deploy a visual Web Part that reads data from two lists by using a LINQ query and displays it in a DataGrid control.

Click to see the Article

To Know more about LINQ

Advertisements
 
1 Comment

Posted by on April 12, 2011 in Code Snippets, LINQ, Sharepoint Server 2010

 

Tags: ,

Working with large lists in Office SharePoint Server 2007


A Sharepoint single list should not have more than 2,000 items per list container. A container in this case means the root of the list, as well as any folders in the list — a folder is a container because other list items are stored within it. Maximum number of items supported in a list with recursive folders is 5 million items….(Content Source: http://technet.microsoft.com)

Here is  a white paper provided by  Microsoft. worth reading….Read/Download:Working with large lists in Office SharePoint Server 2007(White Paper)

 

Tags: , , , ,

Limit length of dataview webpart title text character


Limit Announcment list title length

To alter the character limit of an Announcements List, there is an attribute that must be set through SharePoint Designer on the page that contains the web part. Perform a search for the string “Limit Len=” on the page in question and alter the value to reflect the character limit you would like.The default character limit attribute is set to 250 characters.

Limit Dataview webpart of any list title text

<xsl:value-of select=”concat(substring(@Title,1,100),’…[+]’)” disable-output-escaping=”yes” />

eg: 

<td>
    <a href=”http://mylink/Pages/Test.aspx?id={@ID}”><xsl:value-of select=”concat(substring(@Title,1,100),’…[+]’)” disable-output-escaping=”yes” /></a><xsl:if test=”ddwrt:IfNew(string(@Modified))”><IMG SRC=”/_layouts/1033/images/new.gif” alt=”New” /></xsl:if>

   </td>

 
2 Comments

Posted by on April 1, 2009 in Sharepoint Designer, Webpart

 

Tags: ,