I have some custom rowupdating code in my gridview.
The user clicks edit, edits the record, clicks update and it runs my code.
The code runs fine but the row is still in an 'update' mode. How can I change it back to 'normal' mode, as if they clicked cancel?
I've tried these solutions, but they dont work...
1. e.cancel = true
2. e.KeepInEditMode = False (RowUpdated)
3. gv.EditIndex = -1
I know it probably doesn't matter, but (1) I am using a skin for this gridview and (2) all the page controls are within an ajax updatepanel.