This is a migrated thread and some comments may be shown as answers.

event on sorting columns?

2 Answers 40 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 05 Mar 2009, 08:54 AM
If the user is sorting a column in a grid, is there any event which I can use to react on his sorting?

thanks

Christian

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 05 Mar 2009, 09:34 AM
Hello Christian,

You can use the SortCommand or the ItemCommand of the grid, which would trigger on sorting columns in the grid.
 protected void RadGrid1_SortCommand(object source, GridSortCommandEventArgs e) 
    { 
 
    } 

Thanks
Princy.
0
Christian
Top achievements
Rank 1
answered on 05 Mar 2009, 10:38 AM
Thanks it works!
Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Christian
Top achievements
Rank 1
Share this question
or