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

treeview expandDepth

1 Answer 92 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 22 Sep 2011, 03:40 PM
Hi, I am new to Telerik.  In standard MS treeview, there is a property "Expand Depth".  On the first load, the treeview will expand to the level you set in expand depth.  What is the equivalent property in RadTreeview?  Or how can I achieve that behavior? 

I bind the RadTreeview to a datatable.  I modified my query to to limit the dataset to only first two levels of nodes.  By doing that, however, I lost the little plus sign in front of the low level nodes.  So, I can't expand it via server side load-on-demand. 

Thank you in advance for your help!

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 27 Sep 2011, 01:52 PM
Hi Tim,

There is no built-in property for this but here I am sending you project that shows a RadTreeView that is populated on demand ServerSide and is with expanded nodes.

Hope this will be helpful.

Best wishes,
Plamen Zdravkov
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
Tags
TreeView
Asked by
Tim
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or