Contorls for Silverlight - Panel Bar - Data Binding

2 posts, 0 answers
  1. Kevin
    Kevin avatar
    24 posts
    Member since:
    Jul 2011

    Posted 14 Jul 2011 Link to this post


    Basically, I have the following data:

    My requirement is to achieve the following:

    1. The CategoryName to be parent if the ParentID is 0
    2. The CategoryName to be child of the respective parent if the ParentID is non-zero.

    How can i achieve this?
  2. Petar Mladenov
    Petar Mladenov avatar
    2991 posts

    Posted 14 Jul 2011 Link to this post

    Hello Kevin,

    The RadPanelBar inherits from RadTreeView. So, you can use the approach described in this help article showing how to bind RadTreeView to self-referencing Collection. You can also try this realized in the attachment.

    All the best,
    Petar Mladenov
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top