Dears,

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

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

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

</xsl:when>

<xsl:otherwise>0</xsl:otherwise>

</xsl:choose>

</xsl:variable>

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

Cheers,