ContextMenu in treeview

2 posts, 0 answers
  1. Wajih
    Wajih avatar
    7 posts
    Member since:
    Sep 2012

    Posted 24 Feb 2011 Link to this post


    In treeview i need contextmenus option for that i was refering to this url :

    what i need is when i right click on treenode i should get contextmenus with option New
    so when i select new node that node should get added in treeview as well as in database.
    what is heppening now is when i say new it is creating new node with text as new and it is keeping this text is edit mode so that user can change that name. for that they are using one javascript function to set editable , now after user enters node name then i want to insert this data in database. on which event of treeview can i do this.

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 24 Feb 2011 Link to this post


    I hope you can use "NodeEdit" event for RadTreeView which fires when user clicks the Enter key after editing a Node.

    Another option is attaching "OnClientNodeEdited" client event and invoking ajaxRequest() to server to update db.

Back to Top