This is a migrated thread and some comments may be shown as answers.

Persist node value

1 Answer 49 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Andreas
Top achievements
Rank 2
Andreas asked on 20 Oct 2010, 09:09 PM
When i create a node on the client side i canĀ“t get the node.value property on the server side. However i have no problem getting the text and index properties. What am i missing?



function CreateNode(nodeid)
{
    var tree = $find('treeview1');
    tree.trackChanges();
    var selectedNode = tree.get_selectedNode();
    var node = new Telerik.Web.UI.RadTreeNode();
    node.set_text("New Node");
    node.set_value(nodeid);
    selectedNode.get_nodes().add(node);
    tree.commitChanges();
}

1 Answer, 1 is accepted

Sort by
0
Nikolay Tsenkov
Telerik team
answered on 26 Oct 2010, 09:28 AM
Hi Andreas,

Since we are already working on this problem, I am going to close this thread and if you decide you can reopen it to post a solution to the problem at any time we resolve it, so other people can benefit from our work, too.

Of course you are not obligated to do so, but it would be nice for other people with similar problem!

Hope that soon we will resolve the problem!


Regards,
Nikolay Tsenkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TreeView
Asked by
Andreas
Top achievements
Rank 2
Answers by
Nikolay Tsenkov
Telerik team
Share this question
or