Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sorting in data view web part(when enabling the checkbox in properties) works for the rows which are currently displayed, but i want that all the rows across apgination gets sorted. What modifications i need to do in XSLT or please suggest any other alternative. Please reply ASAP, its very urgent for me. Pls help

share|improve this question

1 Answer 1

You need to do the following:

<ParameterBinding Name="dvt_sortfield" Location="Postback;Connection" DefaultValue="Modified"/>
<ParameterBinding Name="dvt_sortdir" Location="Postback;Connection"  DefaultValue="descending"/>
share|improve this answer
    
Thanks for the reply sumit. But you know it very well that, then pagination numbering issue comes up :) –  Rocky Oct 20 '10 at 10:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.