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

RadTreeView Hierarchal temple

6 Answers 85 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Suman Rao
Top achievements
Rank 1
Suman Rao asked on 29 Oct 2010, 08:32 AM

Hi All,


I need to build a Tree View of 7 level using RadTreeView component, the graphical representation as shown in the attachment

Can some one provide the code for building RADTreeView -> HierarchicalDataTemplate up to 7 Level

Thanks in advances

Any one with the XMAL code?

6 Answers, 1 is accepted

Sort by
0
Miro Miroslavov
Telerik team
answered on 03 Nov 2010, 10:42 AM
Hi Suman Rao,

 Having 7 level of items is as easy as having exactly this number of sub-items in your data model.
You can easily do this by just following this articles. Hierarchical templates and Hierarchical templates with Container bindings.
Hope they will help you.

Best wishes,
Miro Miroslavov
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
Suman Rao
Top achievements
Rank 1
answered on 04 Nov 2010, 11:22 AM
Thanks Miro for the reply,

But I am looking for sample code on the below requirement
-> Building a Tree View of 7 level in RadTreeView
-> Bind the tree with RIA Entity Set 

Can you provide a sample code for above

Cheers and Thanks
0
Petar Mladenov
Telerik team
answered on 09 Nov 2010, 12:23 PM
Hello Suman Rao,

I am sending you a project demonstrating binding of RadTreeView via Ria services. Please examine it and let us know if it satisfies your needs or if you need more info. We would be glad to assist you further. 

Regards,
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
Scott
Top achievements
Rank 1
answered on 24 Aug 2011, 03:35 PM
Thanks for providing this example, it has been very helpful. But how would you go about setting up the TreeView under MVVM? I have tried setting this up, but get an error mapping the LoadOnDemand to a RelayCommand (using MVVM Light).

Thanks, Scott
0
Petar Mladenov
Telerik team
answered on 29 Aug 2011, 02:44 PM
Hello Scott,

 Could you please elaborate more on your scenario so that we could advice you better? You can also check out this blog post where a RadTreeView is bound in an MVVM way via RIaServices. What is the error that you have come up with ? Is it possible for you to open a new support thread with a project attached so that we could investigate better ?

Best wishes,
Petar Mladenov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Scott
Top achievements
Rank 1
answered on 06 Sep 2011, 08:16 PM
Thanks for the link, Petar. I was able to figure it out & get it mostly working by following the example at http://www.telerik.com/community/forums/silverlight/treeview/how-to-radtreeview-events-work-with-mvvm.aspx, and the post you provided.

Scott
Tags
TreeView
Asked by
Suman Rao
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Suman Rao
Top achievements
Rank 1
Petar Mladenov
Telerik team
Scott
Top achievements
Rank 1
Share this question
or