RadTreeView Hierarchal temple

7 posts, 0 answers
  1. Suman Rao
    Suman Rao avatar
    16 posts
    Member since:
    Aug 2009

    Posted 29 Oct 2010 Link to this post

    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?

  2. Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 03 Nov 2010 Link to this post

    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
  3. DevCraft banner
  4. Suman Rao
    Suman Rao avatar
    16 posts
    Member since:
    Aug 2009

    Posted 04 Nov 2010 Link to this post

    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
  5. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 09 Nov 2010 Link to this post

    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
  6. Scott
    Scott avatar
    2 posts
    Member since:
    Jul 2011

    Posted 24 Aug 2011 Link to this post

    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
  7. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 29 Aug 2011 Link to this post

    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 >>

  8. Scott
    Scott avatar
    2 posts
    Member since:
    Jul 2011

    Posted 06 Sep 2011 Link to this post

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