Does the UltaTree control have a method where the method takes as a parameter a string displayed in the control, and return the corresponding treenode?
For example say the control is displayed as followed
Sport-------àbaseball
|
|-------àFootball
|-------àHockey
Food-------àDonut
|-------àCake
|-------àBread
Does the ultraview control have a method where I could pass in a string with the value Bread as an input parameter to the method, and in return the method would return the treenode associated with the item Bread displayed in the control.
Hello ,
You could use GetNodeByKey method of UltraTree. This method returns the node that has the specified key. For more information please take a look at the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Infragistics2.Win.UltraWinTree.v11.1~Infragistics.Win.UltraWinTree.UltraTree~GetNodeByKey.html
Please let me know if you have any further questions.
Disregard this posting I see the ultratree has a GetNodeByKey() method.