Expand ALL child (and children of children) nodes with Load On Demand

4 posts, 0 answers
  1. Brian Berman
    Brian Berman avatar
    3 posts
    Member since:
    Aug 2009

    Posted 18 Mar 2010 Link to this post

    I am looking for a way to load ALL children for a given node (including children of children) while using Load on Demand.  I want to expand ALL from a given root node.  My goal is to trigger expanding all when a user checks a nodes checkbox.

    The client-side solution in this link would work IF the nodes were just all automatically expanded prior to setting their checkbox state: http://www.telerik.com/help/aspnet-ajax/checkboxes-inherit-checked-state-of-parent-node-when-loading-nodes-on-demand.html
  2. Joe Kalinowski
    Joe Kalinowski avatar
    25 posts
    Member since:
    Apr 2010

    Posted 05 Oct 2010 Link to this post

    I am also looking for a solution to this issue. Using load on demand, when a checkbox is checked, I want to expand all of the nodes under it recursively and have their checkboxes checked. What is the most efficient way to do this?
  3. John
    John avatar
    8 posts
    Member since:
    Jul 2008

    Posted 08 Oct 2010 Link to this post

    Anyone have any idea how to do this?  assuming it can even be done?
  4. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 11 Oct 2010 Link to this post

    Hi John,

    Could you, please, explain in a bit more detail what exactly is the scenario you try to implement?
    The page that is initially posted as an example of recursive expand isn't meant to be one.

    If I understood the problem correctly, the best solution, would be to expand more than one node on NodeExpand event on the server (as many nodes as needed), considering the state of the node that the event was initially thrown for.

    Hope this is helpful for you. Of course if this is not what you are looking for, please further explain what seems to be the problem.

    Nikolay Tsenkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top