We have a problem with RadGridView. I could not find event that is raised before edit is canceled (row is
deleted in this case). In RowEditEnded event, action is already done and
I could not revert it.
Is there a way to handle event when row leaves edit mode on double presses the Esc key?
My scenario is:
- Insert new row in RadGridView.
- Insert data in some cell.
- Press Esc to cancel edit of that cell.
- If Esc is pressed twice, added row disappears.
I want to prevent user from losing data accidentally. I want to ask user to confirm canceling and only after his confirmation row can leave edit mode (can be removed in this case). If he doesn’t confirm cancel, row stays in edit mode.
Thank in advance on any help. :)