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. Advertising

  2. tony010409020622@

    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. Advertising

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:
    533
  2. =?Utf-8?B?a2g=?=

    DataGrid.AllowSorting and CssClass

    =?Utf-8?B?a2g=?=, Aug 2, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    1,557
    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,679
    Samuel Shulman
    Jun 13, 2006
  4. bdb112
    Replies:
    45
    Views:
    1,370
    jazbees
    Apr 29, 2009
  5. Julia B
    Replies:
    0
    Views:
    781
    Julia B
    Nov 3, 2009
Loading...

Share This Page