Monday, April 12, 2010

How to show the Filter Toolbar always on for DataView

Sometimes we need to customize DataView Webparts (DVWP) in the Sharepoint Designer. there are to many cases, one of these cases is always showing the Filter Toolbar. to do this:
1. Go to the <xsl:template name="dvt_1.toolbar"> template
2. at the end of this template you find a if statment
<xsl:if test="$dvt_adhocmode = 'filter'" ddwrt:cf_ignore="1"> </xsl:if>
delete this statement and that is all

Thanks,
Mohammed AlShafe'i

No comments:

Post a Comment