Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
760
Exception When Setting The TopNode Property
posted

I set the TopNode property on the a tree that I rebuild to get the tree to remember the state it was left before I rebuilt it. Setting the TopNode property seems to work almost all the time but every once in a while I will get the following exception described below.

"All parent nodes must be expanded when setting 'TopNode'."

Im confused as to why this error is throw. It seems to have a valid TopNode and that the node is expanded. Any insight would be much appreciated. Thank you!