Hi,
Make sure you have registered Sort command event and event handeler
like this
this.DataGrid2.SortCommand += new
System.Web.UI.WebControls.DataGridSortCommandEvent Handler(this.DataGrid2_SortCommand);
AND
private void DataGrid2_SortCommand(object source,
System.Web.UI.WebControls.DataGridSortCommandEvent Args e)
{
}
If you have both these ... then clear reason for not firing the event...
Kindly, check these event.
Best Luck..
Munawr Hussain
"Arun" <no****@nospam.com> wrote in message
news:ez**************@TK2MSFTNGP11.phx.gbl...
Datagrid sort event handler does not get fired
when dynamically creating/adding/removing columns to the datagrid
Thanks in advance for your answers
Arun