Rank: Advanced Member Groups: Member
Joined: 6/23/2010 Posts: 48
|
Hi,
Again - Thanks’ for previous great support!
I’m almost done with a to me pretty advanced concept in a project using TreeView.
As it’s not possible using ”RaisesServerEvent” according to stated requirements client side commands are used instead. For a certain part of the tree it is allowed to perform drag and drop that ends up in either sort order change or a move of the node. At those certain levels it’s also allowed to rename the node.
Of course, somewhere the information is available, but I’m not able to find it to get the correct command. My need is to find a command that when using ”ClientSideOnNodeRename” finds the text that actually is the result of the change. In below snippet, I have the text before the change. - - - - - function NodeRename(e, treenode, eventinfo){ //__doPostBack('btnTW8_Rename', ''); var xTxt = treenode.getText(); alert(xTxt); } - - - - - Please advice, what is my mistake or short coming in finding correct info/command.
Best Regards,
ITMA
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Please take a look of the reference for that property. It should tell you the arguments of your handler. One of the argument is the new text.
Thanks!
|