[RESOLVED]Menu items posting to correct URL

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?

Hi bthJ6,

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

http://www.dotnetcurry.com/showarticle.aspx?ID=811

Hope this can be helpful.

Best Regards,

Eileen

Leave a Reply