RADPanelBar DataBindingIssue ...

3 posts, 0 answers
  1. Manish Agarwal
    Manish Agarwal avatar
    44 posts
    Member since:
    Sep 2009

    Posted 02 Dec 2009 Link to this post

    Hi

    I have a data like : 

    public

     

    class Category //: TreeViewItem

     

    {

     

    public string Name { get; set; }

     

     

    public List<Category> SubCategories { get; set; }

     

     

    public object Source { get; set; }

     

     

    public string ParentName { get; set; }

     

     

    public Category()

     

    { SubCategories =

    new List<Category>(); }

     

     

    public Visibility IsQuestionaaireLocked { get; set; }

     

     

    public Visibility IsQuestionaaireUnlocked { get; set; }

     

    }

    I want to bind the " List<Category>" type of data with my radpanel bar
    Please suggest me ASAP how to do that , as i am not getting the expected result ....

    Regards
    Charu Pahuja

  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 02 Dec 2009 Link to this post

    Hi Manish Agarwal,

    RadPanelBar is a HierarchicalItemsControl control. It can be binded the same way as the RadTreeView. Please check the following articles and let us know if they are helpfull:
    http://www.telerik.com/help/silverlight/radtreeview-populating-with-data-data-binding-to-object.html

    Sincerely yours,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Manish Agarwal
    Manish Agarwal avatar
    44 posts
    Member since:
    Sep 2009

    Posted 02 Dec 2009 Link to this post

    Hello

    Thanks my problem is solved .


    Regards
    Charu Pahuja
Back to Top