Reorder and resizing of grid columns are occurring client side. When the user hides a column that has been reordered and a rebind occurs server side, although the columns are getting dynamically generated again, there is still a reference to the removed column in the grid and an exception is being thrown (see attached).
Have set the following during grid creation:
ViewStateMode = ViewStateMode.Disabled;
EnableViewState = false;
Have also tried doing a rebind in the client side methods which do the reorder and resize. This seems to work on reorder (although performance may be an issue) but caused an exception for resize.
I need a way to clear the viewstate of the grid when the server side rebind occurs. Setting the above settings did not work.