Home/ASP.NET Forums/General ASP.NET/Data Scaffolding using ASP.NET Dynamic Data/Sorting 2 columns in List.aspx

Sorting 2 columns in List.aspx RSS

14 replies

Last post Apr 27, 2012 12:14 PM by valZ

  • valZ

    valZ

    Member

    130 Points

    41 Posts

    Re: Sorting 2 columns in List.aspx

    Apr 26, 2012 07:10 AM|LINK

    But this works only when initializing the Grid, and what about the Grid Sorting by ScopeOfWork.Description column?

  • sjnaughton

    sjnaughton

    All-Star

    27391 Points

    5485 Posts

    MVP

    Re: Sorting 2 columns in List.aspx

    Apr 26, 2012 11:22 AM|LINK

    Hi ValZ, not sure what you mean, do you mean after the page loads and you click a column to change the sort? if yes then that overieds the default sort and since out of the box the GridView does not support multi column search you will need to extend it a little see http://www.codeproject.com/Articles/14437/Extending-GridView-by-allowing-Multiple-Selections that may help.

    See my blog C# Bits | Twitter @sjnaughton
    Always seeking an elegant solution.
  • Prev Next
    1 2Last

    ‹ Previous Thread|Next Thread ›