Navigation Bar
-
I want to add a navigation bar to the top of my web pages like the one on Code Project just below the Search box: CodeProject.com >> Forums home page >> ASP.NET It there an article on the site for this or does someone have a code snipplet? Thanks :) Jonathan Craig www.mcw-tech.com
-
I want to add a navigation bar to the top of my web pages like the one on Code Project just below the Search box: CodeProject.com >> Forums home page >> ASP.NET It there an article on the site for this or does someone have a code snipplet? Thanks :) Jonathan Craig www.mcw-tech.com
Thats not something very hard.You can create a User Control or Server Control.It reads parent file path or URL,and based on it create that navigation.For example ASP.NET page is in Forums directory or it has forum.asp in its name,so it add Forum Home Page link to this navigation and from forumid parameter find out the name of forum .In this case 12076 is for ASP.NET page. Mazy "And the carpet needs a haircut, and the spotlight looks like a prison break And the telephone's out of cigarettes, and the balcony is on the make And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
-
Thats not something very hard.You can create a User Control or Server Control.It reads parent file path or URL,and based on it create that navigation.For example ASP.NET page is in Forums directory or it has forum.asp in its name,so it add Forum Home Page link to this navigation and from forumid parameter find out the name of forum .In this case 12076 is for ASP.NET page. Mazy "And the carpet needs a haircut, and the spotlight looks like a prison break And the telephone's out of cigarettes, and the balcony is on the make And the piano has been drinking, the piano has been drinking...not me...not me-Tom Waits
Thanks for the info. My first idea was to parse the URL but thought I would check the board first. I don't want to recreate the wheel. Thanks again, :) Jonathan Craig www.mcw-tech.com