With ASP .NET, how do I display a side submenu depending on what user picked from the main menu?

Posted by Ole Media on Stack Overflow See other posts from Stack Overflow or by Ole Media
Published on 2010-12-22T22:37:11Z Indexed on 2010/12/24 4:54 UTC
Read the original article Hit count: 275

Filed under:
|
|

Hello, I come from PHP side, but I'm in need to develop a site using ASP .NET

So far I manage to create a master page. Now I'm dealing with menus and submenus

What I'm trying to do is, if the user picks "About Us" from the main menu, under the about us page I want to display a submenu with the options "who we are, what we do, contact us"

If the user picks "Our Products" from the main menu, then under the products page I want to display a submenu with the options "product 1, product 2, product 3"

Is this possible with only one master page?

I read something about menu control but not sure that is what I need. So far I found how to display a sitemap, but not specific sections of a sitemap, if this is the way to do things.

Any links, sample code, point of reference will be appreciated.

Thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc