Welcome Guest Search | Active Topics | Sign In | Register

ClientSideOnNodeRename - get the new text instead of the old text Options
ITMA
Posted: Wednesday, April 3, 2013 3:27:19 AM
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
eo_support
Posted: Wednesday, April 3, 2013 9:08:05 AM
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!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.