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
615
Load on demand, tri-state and getting the checked nodes
posted

I created a tree with load on demand enabled with tri-state checkboxes. This is working perfectly.
However, when I do a postback, I want to be able to access the child nodes of the parent which I checked (without expanding the parent first!).

For example:

My tree looks like this (with "Parent 1" not expanded)

  • Parent 1
  •  
    • Child 1
  •  
    • Child 2
  •  
    • Child 3

Then when I check the tri-state checbox @ "Parent 1" and do a postback, the selectedNodes property doesn't contain the child nodes (since they are not loaded).

How can I access those nodes without expanding "Parent 1" first?

Parents
No Data
Reply
  • 3147
    posted

    Unfortunately this is not possible. The nodes must be populated first, otherwise you can not access them, they just don't exist.

    What exactly you're trying to achieve? We may suggest an alternative solution.

Children