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

Binding SelectedItem to a ViewModel for HierarchicalDataTemplates

2 Answers 76 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Ruth
Top achievements
Rank 1
Ruth asked on 29 Mar 2012, 06:29 PM
Could you send me a link how should  I bind SelectedItem of a treeview to a ViewModel. We are using two levels of Hierarchichal Data Templates.

2 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 30 Mar 2012, 02:58 PM
Hello Ruth,

You can follow this tutorial as it should get you started. You can also examine this demo solution demonstrating the same approach. Let us know if it helps or if we can further assist you.

Greetings,
Tina Stancheva
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Ruth
Top achievements
Rank 1
answered on 03 Apr 2012, 09:33 PM
Thank you!
Tags
TreeView
Asked by
Ruth
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Ruth
Top achievements
Rank 1
Share this question
or