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
850
Hiding the active node
posted

I'm trying to filter the nodes in my tree by evaluating a condition on each one and setting its Visible property to false if it doesn't match. However, when I try to hide the (single) selected node, I get the error message "The ActiveNode can only be set to a node that belongs to this control."

Since I can't not have an ActiveNode, how can I make this work?

Thanks,
   Aaron

Parents
No Data
Reply
  • 69832
    Offline posted

    I was not able to reproduce the problem you describe here with a simple test; I set the Visible property to false for the only member of the SelectedNodes collection, and did not get the error you cited here. If possible please attach a sample project demonstrating the problem here and we will investigate further.

Children