Exemple #1
0
 protected virtual void OnSort(GridSortEventArgs e)
 {
     EventHandler<GridSortEventArgs> handler = Events[_sortHandlerKey] as EventHandler<GridSortEventArgs>;
     if (handler != null)
     {
         handler(this, e);
     }
 }
Exemple #2
0
 protected void Grid1_Sort(object sender, ExtAspNet.GridSortEventArgs e)
 {
     BindGridWithSort(e.SortField, e.SortDirection);
 }