ASP.NET MVC Create dynamic navigation sub-menu on the master page

Posted by Michael Narinsky on Stack Overflow See other posts from Stack Overflow or by Michael Narinsky
Published on 2010-05-16T18:09:09Z Indexed on 2010/05/20 14:10 UTC
Read the original article Hit count: 1228

Filed under:
|
|
|
|

I'm trying to create an ASP.NET MVC master page so the site navigation on it will look like this:

Main Menu:Home | About | News
Sub Menu: Home_Page1 | Home_Page2

The Sub Menu section should always show sub-menu for the currently selected Main Menu page (on the example above 'Home' page is selected) unless a user hovers the mouse on another Main Menu item (then it shows that item's sub-menu instead).

What is the best way to get such functionality in ASP.NET MVC?

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about ASP.NET