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!

Parents
  • 71886
    Offline posted

    Hello RichSee,

    I tried this but was not able to reproduce the mentioned behavior. This does not seem to me like a known issue and it should definitely not be happening if the nodes are expanded. Could you please provide a small sample project with the scenario, which reproduces this issue, I will be glad to take a look at it and assist you further on that matter.

Reply Children
No Data