Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

asp menu bar

hi,
we have a menu bar as user control in our tool box  with sub menus.These sub menus  provide links to different web forms within a single web application.
Can we write a single comman code anywhere in the application so instead of writting code  for giving link to these sub menus in each form.So  we can eliminate the code duplication in every form.

Any answer will be highly appreciated.

thanks

Sandeep Tikariha
Thursday, July 15, 2004

Sure. Have a config file (XML say) that contains the information about the structure of the site, and have your menu control read the XML when it renders...

Duncan Smart
Thursday, July 15, 2004

do as duncan says. I've used skmmenu to do this in the past:

http://www.skmmenu.com/menu/

PopCulture
Sunday, July 25, 2004

*  Recent Topics

*  Fog Creek Home