I have a grid that is set to allow multi-row editing using the AllowMultiRowEdit property. The grid's Items collection is then walked in the first pass of the grid's PreRender event (i.e. when not a postback) and each GridEditableItem has its .Edit property set to true as per the example on this site.
The problem I'm having is that when the user clicks on a grid column header to sort by that column all of my rows exit edit mode and the input controls that were previously rendered for input disappear (as would be expected when coming out of edit mode).
What can I do to preserve edit mode on all of my rows when performing a grid sort? Should I hook into a different event after sorting to set each row's .Edit property back to true? Should I do this as part of the sort? Any guidance would be appreciated!
Rob
The problem I'm having is that when the user clicks on a grid column header to sort by that column all of my rows exit edit mode and the input controls that were previously rendered for input disappear (as would be expected when coming out of edit mode).
What can I do to preserve edit mode on all of my rows when performing a grid sort? Should I hook into a different event after sorting to set each row's .Edit property back to true? Should I do this as part of the sort? Any guidance would be appreciated!
Rob