Hi -
I have an Ultra Tree with three node levels. Total Number of nodes in the tree will be around 10,000. The problem with this tree is when the user selects a particular node, a new win form will be opened. After closing the winform I am refresing the whole tree as the win form changes some of the properties of the nodes thereby causing the nodes to rearrange. So after the win form is closed when I refresh the tree, the user wants the tree nodes to be in the same pattern before opening win form like node 1 expanded and node 2 collapsed etc. All I see in the tree node is Expand All and Collapse All which doesn't entirely solve the purpose. Considering the performance issue which is the best way to do this.
Any suggestions will have a great impact on my application.
Thanks in advance.
You were not very specific about why the nodes get rearranged, but you should use the Sort or SortComparer properties to sort the nodes after the collections are populated, and base your sort criteria on something that will not change when they get rearranged.