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

radTreeView Dynamic Expand

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Bob
Top achievements
Rank 1
Bob asked on 17 Jul 2008, 07:31 PM
I am looking to use the radTreeView for navigation.  The navigation tree is determined at runtime and nodes are to be populated on demand base on query results, so for instance the root nodes may be projects, and Tasks.  On clicking expand of the project node an Async query is run to get the set of projects which will populate the tree when complete.   Expanding a project will list tasks for that project beneath.

The first issue I am faced with is that the expansion image does not appear to show if there are no children.

Is there a way to have the expansion show when there are no children ?

Are there any example on dynamically building tree views ?

1 Answer, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 18 Jul 2008, 11:15 AM
Hi Bob,

You need to set the IsLoadOnDemandEnabled property to True in order to enable this functionality. You can see an online example here:
http://www.telerik.com/demos/silverlight/#Examples/TreeView/LoadOnDemand

Let me know if you need more help on this.

Kind regards,
Valentin.Stoychev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Bob
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Share this question
or