When you are using the clientside javascript for a TreeView, there is a lot of information which i am unsure. I dont have a sample to test with, but i was wondering if the getNodeByText will recursively search for the first occurance, or just search the children under the selected node.
Some documentation is located at http://www.telerik.com/help/aspnet-ajax/treeview-client-objects-radtreeview.html but it doesnt answer my specific question.
From my experience, every
Nodefunction only affects 1 Level at the time.So this code would only affect the first level of nodes (A
Nodeat the root of theTreeView):then you can call this fonction on any
Node, so:You see? If you want to search for underlying children nodes, you must iterate for every root
Node, and if you’re looking for a 3rd levelNode, you have to iterate thru every 2nd levelNode, and so on…