14 September, 2009
0 Comments
0 categories
If you want to get the page filename from the current request url in ASP .NET you can use:
string page = Path.GetFileName(Request.Url.LocalPath).ToLower();
This can be used to switch logica in de master page.
Tags: ASP .NET