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

Opening treeview in expanded mode

2 Answers 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Nishant
Top achievements
Rank 1
Nishant asked on 04 May 2011, 06:13 PM

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 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 09 May 2011, 07:13 AM
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
0
Nishant
Top achievements
Rank 1
answered on 16 May 2011, 03:09 AM
it worked well!! thanks for the help
Tags
TreeView
Asked by
Nishant
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Nishant
Top achievements
Rank 1
Share this question
or