Expand Collpase

3 posts, 0 answers
  1. Joao
    Joao avatar
    12 posts
    Member since:
    Jan 2009

    Posted 23 Mar 2011 Link to this post

    Hi!

    I can see in this link an example to expand and collpase nodes
    http://www.telerik.com/help/aspnet-ajax/tree_clientexpandingcollapsing.html

    My problem is how to activate this by clicking the Plus and Minus sign of the main node?

    Thanks
    JL
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Mar 2011 Link to this post

    Hello Joao,


    Attach the "OnClientNodeExpanded" client event to RadTreeView and try the same logic to expand the child nodes explicitly. In this approach, we need to keep a global flag which is for preventing infinite call for the event when the logic executes.

    I hope this would shed some light on achieving the required.


    Thanks,
    Princy.
  3. Joao
    Joao avatar
    12 posts
    Member since:
    Jan 2009

    Posted 25 Mar 2011 Link to this post

    Thanks :)
Back to Top