treeView.DataTextField = "Name";
treeView.DataFieldID = "ID";
treeView.DataFieldParentID = "ParentID";
treeView.DataSource = links;
treeView.DataBind();
I am binding the treeview like this.
I want to get the ID of the node that is selected not Text How do I get that throught javascript
var destinationNode = args.get_destNode();
var parentnode=args.get_destNode().get_parent();
var parentnodetext=parentnode.get_text();
here I am getting the Text but I want the Id linked to it