3
Reply

MVC dynamic Menu

Mark Tabor

Mark Tabor

Aug 5 2016 11:50 AM
330
Dear I am newby to MVC and I want to create a website for that i need dynamic menu from database , for that purposes i made a table having {id,MenuName,ParentID} and i am binding this menu using model to partial view all is ok, but Now I want the logic when i click on the menu it shoud go to the specific controller and then show the view , I need this also from database how to do that . 
I have gone through below links they are not useful any more
http://vizagtechie.blogspot.in/2012/06/dynamic-multi-level-jquery-menu-for.html
http://www.dotnetcurry.com/aspnet-mvc/811/dynamic-menus-aspnet-mvc-entity-framework-code-first-jquery
 
I need the controller action should also be from the database share the example pls i am newby to MVC 

Answers (3)