I have a menu that is database driven. Each item in the menu is a row in the database. There is a column for the URL’s. Question is how do writ code it the controller or a class so the the item in the menu, when clicked on send you to the correct URL?
Thanks for your post.
There’s a sample,you can refer to the following link:
#Dynamic Menus in ASP.NET MVC 4 using EF Code First and jQuery
Hope this can be helpful.