radTreeView Dynamic Expand

2 posts, 0 answers
  1. Bob
    Bob avatar
    4 posts
    Member since:
    Jul 2008

    Posted 17 Jul 2008 Link to this post

    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 ?

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 18 Jul 2008 Link to this post

    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
Back to Top