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

RADPanelBar DataBindingIssue ...

2 Answers 48 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Manish Agarwal
Top achievements
Rank 1
Manish Agarwal asked on 02 Dec 2009, 06:38 AM
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 Answers, 1 is accepted

Sort by
0
Valentin.Stoychev
Telerik team
answered on 02 Dec 2009, 08:01 AM
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.
0
Manish Agarwal
Top achievements
Rank 1
answered on 02 Dec 2009, 08:47 AM
Hello

Thanks my problem is solved .


Regards
Charu Pahuja
Tags
PanelBar
Asked by
Manish Agarwal
Top achievements
Rank 1
Answers by
Valentin.Stoychev
Telerik team
Manish Agarwal
Top achievements
Rank 1
Share this question
or