Node Edit

2 posts, 0 answers
  1. Som
    Som avatar
    35 posts
    Member since:
    Oct 2007

    Posted 26 Jan 2009 Link to this post

    We have provided the node text edit functionality using the context menus and If the user enters any special characters while editing the node text we need to do the following things:

    1. Cancel the update .
    2. Set the focus back to the node in edit mode with the old text showing.

    We tried using the eventArgs.set_cancel(true); from the help/samples, that takes care of requirement 1 but not 2.
    If I use eventArgs.set_cancel(true); node.startEdit(); the ClientNodeEdited event never gets fired.

    I will appreciate if you could provide a way to implement these requirements.

  2. Yana
    Yana avatar
    4888 posts

    Posted 27 Jan 2009 Link to this post

    Hi Som,

    Please find attached simple page which demonstrates how to implement the needed functionality. Download it and give it a try.

    the Telerik team

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