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

Dynamic Panel Menu

3 Answers 60 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Usman
Top achievements
Rank 1
Usman asked on 01 Mar 2012, 12:03 PM
hi there,

    how to i load multiple items in multiple panel bar so that it show dynamic world like we can a panel bar and behind the code it generates multiple panel bar ann each panel bar contains multiple items and all these panel bars are loaded dynamically???

3 Answers, 1 is accepted

Sort by
0
Usman
Top achievements
Rank 1
answered on 01 Mar 2012, 12:08 PM
the code behind should be in c# which create items in a panel bar dynamically
0
Petar Mladenov
Telerik team
answered on 05 Mar 2012, 05:16 PM
Hello Usman,

 In this help article you can see a RadPanelBar created in code behind or in XAML. Please let us know if you need further assistance.

RadPanelBar myPanelBar = new RadPanelBar();
RadPanelBarItem item1 = new RadPanelBarItem() { Header = "Item 1" };
RadPanelBarItem item2 = new RadPanelBarItem() { Header = "Item 2" };
RadPanelBarItem item3 = new RadPanelBarItem() { Header = "Item 3" };
myPanelBar.Items.Add(item1);
myPanelBar.Items.Add(item2);
myPanelBar.Items.Add(item3);

All the best,
Petar Mladenov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Usman
Top achievements
Rank 1
answered on 06 Mar 2012, 05:55 AM
thanks it resolves my problem. . .
Tags
PanelBar
Asked by
Usman
Top achievements
Rank 1
Answers by
Usman
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or