hello,
I am creating a grid server side in c# code:-
in CreateChildControls
rg.SortCommand += new GridSortCommandEventHandler(rg_SortCommand);
rg.MasterTableView.AllowSorting = true;
rg.MasterTableView.AllowCustomSorting = true;
I have enable sorting on each column created:-
boundColumn.AllowSorting = true;
The sort is enabled on each column. When i click on the column title there is a page postback but the event handler
"rg_SortCommand" is not called.
I am creating a grid server side in c# code:-
in CreateChildControls
rg.SortCommand += new GridSortCommandEventHandler(rg_SortCommand);
rg.MasterTableView.AllowSorting = true;
rg.MasterTableView.AllowCustomSorting = true;
I have enable sorting on each column created:-
boundColumn.AllowSorting = true;
The sort is enabled on each column. When i click on the column title there is a page postback but the event handler
"rg_SortCommand" is not called.