I have started on my first ASP.NET (3.5) website using C# in Visual Studio 2010. This is actually an internal web application for our company. I have some experience programming, but I'd like to ask you experts for your ideas on how to go about the following task. Points awarded to all helpful responses.
My site has a site.master page which puts the banner across the top. My question is about how to code a horizontal navigation bar that I'd like to put across the top just below the banner. It would basically be a horizontal row of boxes to click on much like the one here on EE that says "Browse All, Microsoft, Apple, Digital Living, etc."
Taking advantage of ASP, I don't want to have to put the code for this navbar in every single page of the site. But I do
want the color of "selected" navbar item (the one that matches the currently displayed part of the site) to be different from the others. (See attached image)
The site has a master page, so I thought about adding a content page just for the navbar. But I don't know how I would get the nav bar items to change color based on what's being displayed in the content page beneath it.
Or I thought about adding code to App_Code that gets called from each page, with a parameter for which page is being displayed below it so it can render that item a different color.