get_allNodes() not returning collapsed nodes

3 posts, 0 answers
  1. Ted
    Ted avatar
    3 posts
    Member since:
    Aug 2012

    Posted 27 Aug 2012 Link to this post

    Hi,

    I am using get_allNodes() and it appears to only return root and expanded nodes (it's not returning any children of collapsed parent nodes). At least, this is the count that nodes.length is giving me. Is this expected behavior?

    Thanks,
    Ted
  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 28 Aug 2012 Link to this post

    Hello Ted,

    I have tried to reproduce the problem you experience, but to no avail. Could you elaborate a bit more about the exact your scenario? I prepared a sample project, where you could observe the behavior of the RadTreeView control along with the usage of the get_allNodes() client-side method.
    Please find the sample attached.


    All the best,
    Nencho
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ted
    Ted avatar
    3 posts
    Member since:
    Aug 2012

    Posted 28 Aug 2012 Link to this post

    Thank you for your response. Apparently this method is expected to return ALL nodes, to include children of collapsed nodes. So, that answers my question.
Back to Top