Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Master Page - controlling links
Message
From
30/10/2008 13:25:20
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01358074
Message ID:
01358415
Views:
23
>>>
>>>The same is true for accessing content from the master page that may be contained in a content page (eg. use FindControl on this.ContentPlaceHolder1, or whatever it's named). You can also just look at the Request.Path (or any of the other various Request paths) to determine which page you're on.
>>
>>This was really way to easy!
>
>What if I enter the URL of /tracker/default.aspx instead of "/Tracker/Default.aspx"?

You don't miss much Paul. I typed in what I used to test, but actually coded it a little different including setting the string ToLower() before comparing.
Thanks
Tim
Timothy Bryan
Previous
Reply
Map
View

Click here to load this message in the networking platform