Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Master Page - controlling links
Message
De
30/10/2008 13:25:20
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01358074
Message ID:
01358415
Vues:
24
>>>
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform