I need to know how in code to select a treenode in the ultratree control so that node is shown selected to the user.. Does the ultratree have a method which takes as an input parameter the treenode’s key and selects that node so that node is shown as selected in the ultratree control to the user?
Hello Sfrierdi,
Maybe you are looking for the method:
UltraTreeNode MyNode = ultraTree1.GetNodeByKey("KEY");
About the selected nodes you could try this snippet code
ultraTree1.HideSelection = false;
ultraTree1.ActiveNode = MyNode;
ultraTree1.ActiveNode.Selected = true;
Please take a look in our online documentation for more details:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/WinTree_Navigation_and_Selection.html
Please let me know if you have any questions.
Regards