"side menu" designed with XML: sample code needed

eramgarden

Contributor
Joined
Mar 8, 2004
Messages
579
A developer here was telling us we can design side menu using XML. For example, The menu can have "option1, option2, option3" , then under for example..."option1" can have a submenu of "option1-a", etc.

Then when a user clicks on "option1", the sub-menus are displayed where then u can choose from the sub-menu, click on the sub-menu and it takes you to a ASP.net aspx file.

I've seen an example of the XML file with the attributes and links to the correct aspx file but how do you code the "click event" in xml? how do wire it to the asp.net/vb.net code for the click event??
 
What version of asp.net are you using? If version 1 / 1.1 then you will probably need to do this via a 3rd party control like this one. If you are using version 2 then the built in menu control / sitemap data source will take care of this for you.
 
Back
Top