AllowSorting = True, BUT Web DataGrid Wont Sort

Discussion in 'ASP .Net Datagrid Control' started by tony010409020622@spamthis@hotmail.com, Sep 29, 2005.

  1. I'm obviously missing something, suggestions are welcomed.

    Thanks
     
    tony010409020622@, Sep 29, 2005
    #1
    1. Advertisements

  2. Scott M.

    Scott M. Guest

    Just setting "Allow Sorting" to true doesn't automatically make your data
    sort. You need to write the sorting code in the grids "SortCommand" event
    handler. All turning sorting on does is "allow" the column headers to be
    clickable and fire the SortCommand event.


    <tony010409020622@> wrote in message
    news:...
    >
    > I'm obviously missing something, suggestions are welcomed.
    >
    > Thanks
     
    Scott M., Sep 29, 2005
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cowboy \(Gregory A. Beamer\)

    Export datagrid(with allowsorting) to Excel

    Cowboy \(Gregory A. Beamer\), Jun 25, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    735
  2. =?Utf-8?B?a2g=?=

    DataGrid.AllowSorting and CssClass

    =?Utf-8?B?a2g=?=, Aug 2, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,632
    Joe Fallon
    Aug 3, 2004
  3. Samuel Shulman

    AllowSorting dosn't work

    Samuel Shulman, Jun 13, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    3,858
    Samuel Shulman
    Jun 13, 2006
  4. André
    Replies:
    3
    Views:
    1,943
  5. bdb112
    Replies:
    45
    Views:
    1,888
    jazbees
    Apr 29, 2009
  6. Julia B
    Replies:
    0
    Views:
    864
    Julia B
    Nov 3, 2009
  7. Dan Dorey via .NET 247

    dynamic datagrids and allowsorting

    Dan Dorey via .NET 247, Aug 4, 2004, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    206
    Dan Dorey via .NET 247
    Aug 4, 2004
  8. Navin
    Replies:
    1
    Views:
    1,092
    Ken Schaefer
    Sep 9, 2003
Loading...