Event when user aborts edit of a cell

2 posts, 0 answers
  1. Ramius
    Ramius avatar
    127 posts
    Member since:
    Feb 2008

    Posted 11 Feb 2009 Link to this post


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

    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,


  2. Nick
    Nick avatar
    767 posts

    Posted 13 Feb 2009 Link to this post

    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,
    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.
Back to Top