Tag Archives: Announement

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” />


    <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>



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


Tags: ,