SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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.