In my Asp.net web page, I've got a GridView control that is data bound to an ObjectDataSource. The user can edit row directly in the GridView. There are times when the update fails validation. When this happens, I would like the row that was being updated to remain in the edit mode.
In the event handler for onUpdating, the event args object has a cancel property. But I need to check to see if the update failed in the onUpdated event handler, and it doesn't have e.Cancel property.
So I need to know how to get a GridView row to remain in edit mode if the update fails.