1. How to expand node with javascript?
I use follow:
------------------------------------------------------
var nodeindex = TreeView1.selectedNodeIndex;
var mynode = TreeView1.getTreeNode(nodeindex);
mynode.setAttribute("expanded",true,0);
------------------------------------------------------
but can't run
2.How to click node after select node?
-------------------------------------------------------
var newNode = TreeView1.createTreeNode();
newNode.setAttribute("text", "asp.net");
newNode.setAttribute("NavigateUrl","http://www.asp.net/");
newNode.setAttribute("Target","_blank");
TreeView1.add(newNode);
TreeView1.selectedNodeIndex = newNode.getNodeIndex();
---------------------------------------------------------
I had already select node,and then how to click the node ?
use newNode.Click() can't run