Node Editing

2 posts, 0 answers
  1. Russell Mason
    Russell Mason avatar
    87 posts
    Member since:
    Oct 2006

    Posted 01 Dec 2008 Link to this post


    Is it possible to detect (and run a javascript function) when a TreeNode goes into edit? The OnClientEditing event fires after the edit box appears and the user has changed text and then goes to commit the change. I would like to change the text prior to the user being able to type (i.e. the node text displays more than the 'editiable' text). I would also like to know if the user canceled the change (presses Esc). Any ideas/best practices.

    Russell Mason
  2. Veselin Vasilev
    Veselin Vasilev avatar
    2992 posts

    Posted 05 Dec 2008 Link to this post

    Hi Russell Mason,

    We are in a process of implementing a new client event which fires right after the user has double clicked the node to edit it /or pressed F2/. In this event you will be able to change the text of the node.

    Currently, when the user presses Esc button - no event is fired, because the old text of the node is returned back and the edit is canceled.

    Stay tuned for the next official release.

    Best wishes,
    Veselin Vasilev
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top