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
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.