In my Asp.net webpage, I have a GridView control bound to an ObjectDataSource. The user can edit the row directly in the GridView. There are times when an update fails validation. When this happens, I would like to update the line that will remain in edit mode.
In the onUpdating event handler, the event args object has a cancel property. But I need to check if an update has occurred in the onUpdated handler, and it does not have the e.Cancel property.
Therefore, I need to know how to make the GridView row remain in edit mode if the update does not work.
source share