Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic navigation
Message
From
02/08/2007 14:42:10
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
02/08/2007 13:44:15
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01245483
Message ID:
01245591
Views:
19
On second thought, I don't like my idea. I am not an expert on master/content pages, so hopefully someone else can answer your question. Sorry.

>Hi Mike,
>
>What might be an example of detecting what page you are on? I saw a link in another post that I found quite interesting. It was on www.idesign.com. Another I saw that appears to be just html looks like a tab control at http://www.dyve.com/ Would love to figure out how to do that with asp.net.
>
>Thanks
>Tim
>
>>>This is more of a how to question as I am fairly new to web applications. I am using C# and ASP.net in VS2005.
>>>
>>>I am using a master page with buttons on it for navigation. I have seen many aspx websites that use buttons that look like links, but when you navigate to one of the pages, the corresponding button is highlighted. Some actually look like tabs of the page. How do I do this without putting navigation on every page? Is there a way to access the master page components at run time?
>>>
>>>Thanks
>>>Tim
>>
>>Good question... the first step I would try would be to put the navigation logic in the master page. Can you detect the name of the page you are on in the master page and take action based on that? For example, if the page you are on is contact.aspx, you would detect that in the master page and show an alternative image?
Very fitting: http://xkcd.com/386/
Previous
Reply
Map
View

Click here to load this message in the networking platform