How do I set - after tree build - the selected node
Printable View
How do I set - after tree build - the selected node
Hi,
Code:tree.getNodeById(id).select();
I am trying to set it by the value of a hidden field - is that possible?
Code:
this.BuildTree(TreePanel1.Root);
this.ScriptManager1.AddScript(hdnContract.ClientID + ".setValue(parent.ComboBox1.getValue());");
TreePanel1.AddScript("{0}.getNodeById('{1}').select();", TreePanel1.ClientID, hdnContract.ClientID+ ".getValue();");