This is a migrated thread and some comments may be shown as answers.

Event when user aborts edit of a cell

1 Answer 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ramius
Top achievements
Rank 1
Ramius asked on 11 Feb 2009, 11:06 PM
Hello,

is there an event when the user aborts the editing of a cell ?

background:
I want to implement the IEditableObject-Interface for my bindinglist objects and so i need to know when the user aborts the edit of a cell.

Kind regards,

Ramius

1 Answer, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 13 Feb 2009, 04:08 PM
Hi Ramius,

Thank you for your question. If you refer to this documentation topic, you will notice that the ESC character cancels cell edit and the old value remains. The event that you can use is CellEndEdit which is fired even in the ESC scenario. Unfortunately, there is no way directly to check whether the ESC character has been used, but you can implement a workaround using CellBeginEdit event where you save the old value and check in CellEndEdit for the new value. If the value is the same, the user has either pressed ESC or has not modified the cell value.

Do not hesitate to write me back if you have further questions.

All the best,
Nick
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
GridView
Asked by
Ramius
Top achievements
Rank 1
Answers by
Nick
Telerik team
Share this question
or