I am using ServerSideCallBack and would like nodes to be expanded to say two levels.
Is there a way I can emulate the asp TreeView ExpandDepth property on load.
I have tried setting node.Expanded but this doesn't seem to trigger the populate on demand.
Many thanks
Richard
1 Answer, 1 is accepted
0
Bozhidar
Telerik team
answered on 23 Dec 2011, 01:17 PM
Hello Richard,
You can check the level of the node you are expanding in the NodeExpand event. Then based on the level you can choose whether to add child items or not. Here is a small example:
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