This is a migrated thread and some comments may be shown as answers.

Expand Collpase

2 Answers 61 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Joao
Top achievements
Rank 2
Joao asked on 23 Mar 2011, 04:56 PM
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 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 24 Mar 2011, 09:18 AM
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.
0
Joao
Top achievements
Rank 2
answered on 25 Mar 2011, 07:02 PM
Thanks :)
Tags
TreeView
Asked by
Joao
Top achievements
Rank 2
Answers by
Princy
Top achievements
Rank 2
Joao
Top achievements
Rank 2
Share this question
or