Opening treeview in expanded mode

3 posts, 0 answers
  1. Nishant
    Nishant avatar
    2 posts
    Member since:
    Feb 2011

    Posted 04 May 2011 Link to this post

    Hi

     

    I am using RadTreeView control which is binded to object collection, however when collection changes the new display always appears in collapsed mode by default is there any way that I can get expanded display by default.

     

    Thanks

    Nishant Diwakar

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 09 May 2011 Link to this post

    Hello Nishant,

    If you are using ViewModels, you can bind the IsExpanded property of the RadTreeViewItem to a boolean property in your ViewModel using ContainerBindings. Please refer to this help article and to the attached project to see a basic implementation. Let us know if this helped you or not.

    Greetings,
    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
  4. Nishant
    Nishant avatar
    2 posts
    Member since:
    Feb 2011

    Posted 15 May 2011 Link to this post

    it worked well!! thanks for the help
Back to Top