Dynamic Panel Menu

4 posts, 0 answers
  1. Usman
    Usman avatar
    12 posts
    Member since:
    Mar 2012

    Posted 01 Mar 2012 Link to this post

    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???
  2. Usman
    Usman avatar
    12 posts
    Member since:
    Mar 2012

    Posted 01 Mar 2012 Link to this post

    the code behind should be in c# which create items in a panel bar dynamically
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 05 Mar 2012 Link to this post

    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 >>
  5. Usman
    Usman avatar
    12 posts
    Member since:
    Mar 2012

    Posted 05 Mar 2012 Link to this post

    thanks it resolves my problem. . .
Back to Top