I need to generate menu based on the values in the table/ dataset. The table contain data similar to below Image data. Now main menu contain 4 values, Products, Applications, Documents, Support. Each menu has its menu items. Please check this link in Detail
Loading
Praveen NPosted Feb 13, 2014, 11:36 PM
http://www.codemyne.net/articles/Dynamic-Menu-using-Database-in-aspdotnet.aspx?visitid=25&type=2
Sanjeev KumarPosted Jan 29, 2014, 5:45 AM
Thanks for suggesting the links , Examples in the links contain Predefined XML. But, I need to generate the XML dynamically for each user. Means after each user login, User may have different Role and different Pages to access. What to access I can get it from the database. Based on that I need to show those pages(As Menu and Menu items) to him.
Keyur PatelPosted Jan 29, 2014, 4:44 AM
Please read following links, it might be helpful to you.
http://www.codeproject.com/Articles/1907/Using-XSLT-to-generate-a-multi-level-tree-menu-fro
http://www.c-sharpcorner.com/blogs/6580/menu-control-with-xmldatasource.aspx
http://www.aspdotnetcodes.com/Asp.Net_Menu_Control_XmlDataSource.aspx
http://csharp-video-tutorials.blogspot.in/2013/10/part-153-menu-control-in-aspnet.html