I wanted to use the OnSortColumn event handler.
However by setting the EnableViewState="false" in the webgrid, the event does not get fired.
Any alternative way?
I am doing custom sorting with paging that is why I need custom server side logic to pull the data.
I don't know if this will help, but:
Are you putting "OnSortColumn="MyEventHandler()"" in your markup, or are you relying on "Handles MyGrid.OnSortColumn" in your code?" Be sure to try the "OnSortColumn="MyEventHandler()"" approach.
HTH
Hi,
I have tried both approach but to no avail. Both didn't work.
I think for some reason the UltraWebGrid handles its viewstate differently. I also have problems extending the control and adding controls to it.