I’ve been facing a bug in the paging of the data form webpart which occurs when the asynchronous update is enabled. The issue is that when you click the previous button, then it’ll redirect you to the previous page as it invokes a call to history.back() javascript function.

I’ve done some modifications in the XSLT in order to make this work:

Open the code view and search for a <td> that has a class named “ms-paging” and then paste those lines before the starting of the td tag:

<xsl:variable name="dvt_PrevPageData">


<xsl:when test="($FirstRow - $RowLimit - 1) &gt; -1">

<xsl:value-of select="$FirstRow - $RowLimit - 1" />





Search for “history.back()” and then replace the line with that line:

<xsl:attribute name="href">javascript: <xsl:value-of select="ddwrt:GenFireServerEvent(concat('dvt_firstrow={',$PrevRow,'};dvt_startposition={Paged=TRUE&amp;p_ID=',$dvt_PrevPageData,'}'))" />;</xsl:attribute>

And it’ll work like a charm J