Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Panelbar > Binding RadpanelBar with IList
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered Binding RadpanelBar with IList

Feed from this thread
  • Anjali Intermediate avatar

    Posted on Mar 23, 2011 (permalink)

    Hi All,

    I am trying to bind the panel bar with the IList. I have the follwing code in my class libarry


    public IList<CsMenuSection> GetMenuItems()
        {
            // go to DB to find menu items.
            CsMenuSection section = new CsMenuSection("DataReview","Test1");            
            section.AddMenuItem(new CsMenuItem("Score rep", "/rRepScore/Index"));
            section.AddMenuItem(new CsMenuItem("Something else", "/something/something"));
            CsMenuSection section2 = new CsMenuSection("Section 2", "Test3");
            section.AddMenuItem(new CsMenuItem("Sample", "/repScoring/Selectreps"));            
            _menu_item_list.Add(section);
            _menu_item_list.Add(section2);
            return MenuItemList;
             
              
        }

    I need to bind the panel bar with getmenuItems. In the above code DataReviw, Score Rep, Something else, section 2 and sample are the parent node of the panel bar and Test1,

     

    /rRepScore/Index, /something/something, "Test3", "/repScoring/Selectreps" are the childeren of the panel bar and they are the link to another web page.

     

     

    How can I acheive this?


Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Panelbar > Binding RadpanelBar with IList