Tag Archives: SharePoint Designer

Extend DVWP Pagination for optionally showing all items

Sometimes you just like to turn off the pagination feature of a DataViewWebPart (DVWP) i.e. to print the list. Achieving this as an optional behaviour is very easy: In the XSLT of the DVWP find:

(where “6” is the numer of items per page) and delete it Next scroll up to </ParameterBindings> and add

[…]

Fix Pagination of DataViewWebPart in SharePoint Designer

The default pagination xsl:template of the DataViewWebPart (DVWP) contains a bug. When reaching the end of list, i.e. if you click on “end”, or on “next” until you reach the end, the total number of entries is not set correct anymore. If you click “previous” no items are shown anymore, as if the list is […]