Hello All experts,
Need your help. I have ultra treeview with nodes and i am repopulating it with display text value changed (initiated by button click on the form) . But as i am repopulating and expanding all,so not able to maintain the same top node which was there earlier before clicking the button to change the display text of nodes.
Thanks in advance.
Hi,
The tree control has a TopNode property. So you simply set this to the node you want to appear at the top.
Of course, if you remove all of the old nodes and replace them with new nodes, the old node will no longer be in the tree, so setting it as the TopNode will not work. You need to somehow find the new node in the tree which matches the old TopNode and set it as your ne TopNode.