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?
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
UI controls for ASP.NET AJAX, MVC, WPF, Silverlight, Windows Forms and Windows Phone. Visual Studio productivity tools. Reporting and data layer solutions.
HTML5 / JavaScript tools for Web and Mobile applications
Functional, Performance, Load and Mobile Software Testing
CMS, Mobile Web, Ecommerce, Emarketing, Social Media
Project management software inspired by Agile best practices
It seems you haven't bookmarked any pages. Fix that by clicking the button below