Dear all;


I have googled everywhere but still cant find a good robust code for this. I would like to use an XML to create a menu and submenu in asp.net in the master page. This is the design I would like

About Me|Interest

now if About Me is clicked on it shows all its associated submenu, so this is what you get

About Me|Interest

City|Place|Age

if Interest is clicked on instead, this is what you get instead,

About Me|Interest

Hobby|Games

How do you implement all this in asp.net, all help is greatly appreciated. Thank you. A good sample code will really help.

You need to use SiteMap and Menu Control available in ASP.NET.

If you're working with the visual studio 2010, you are provided with a default template with that feature. if not, then proceed with adding your own menus from the toolbox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.