Rank: Member Groups: Member
Joined: 5/12/2012 Posts: 11
|
I have a context menu that I would like to have an "Edit" menu item that will allow the user to change the text. How do I activate the text box from javascript?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi, Inside your context menu ClientSideOnItemClick handler, you would need to call this method to get the "context node" (the node that user right clicked on): http://essentialobjects.com/doc/1/jsdoc.public.treeview.getcontextnode.aspxOnce you have the node, you can call this method to put the node into edit mode: http://essentialobjects.com/doc/1/jsdoc.public.treenode.beginedit.aspxHope this helps. Please feel free to let us know if you still have any questions. Thanks!
|
Rank: Member Groups: Member
Joined: 5/12/2012 Posts: 11
|
Thank you, this was very helpful!
|