Navigation include

[b][red]This message was edited by mnp13 at 2004-8-23 13:34:26[/red][/b][hr]
I'm going a little nuts here - and I'm sure there is a 'simple' solution that is just escaping me.

I am coding in ASP with C# behind. I have a website with a farly simple navigation menu, but how do I make the menu once and then 'include' it in all of the pages. (I come from a ColdFusion background, so this is REALLY easy for me in that language!)

I currently have the menu hard coded on to every page - which is a MAJOR pain in the neck to update. I need to have one file with the navigation info that I include on every page automatically. How do I do it?????

Edited to add:
I know how to include using a .inc file, but I need to be able to tell which page I'm on so that the navigation is specific to the page. (I think that makes sense...)




Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion