The treeview is currently configured to load on demand.
Scenario is this I need to be able to refresh a node (ask database) due to one of the following actions from a user:
1. Adding of a new node under currently selected item.
2. Deleting of a node that is the currently selected item.
3. Updating the name of the currently selected item.
I have this working however if the selected node is expanded and all nodes below are expanded also - the state of the branch up to the selected node is retained but the nodes past the selected node are now collapsed after a reload of the selected node. (In the case of the delete - I refresh the parent node).
Is there a way to maintain the state of the branches so that a refresh does not collapse the branch below the refresh point?
If my description is insufficient I can explain with a more specific scenario and include screen shots.