1、设置TreeView的属性EnableClientScript=true;
2、在动态绑定TreeView时,设置Node的属性SelectAction为Expand
newNode.SelectAction = TreeNodeSelectAction.Expand;
ok,搞定!!
1、设置TreeView的属性EnableClientScript=true;
2、在动态绑定TreeView时,设置Node的属性SelectAction为Expand
newNode.SelectAction = TreeNodeSelectAction.Expand;
ok,搞定!!