Assuming you're talking about the filename, try:
System.IO.Path.GetFileName(Request.ServerVariables("URL"))
note, however, that it won't be a perfect solution if you're using
Server.Transfer
David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
> How can I get in the Load Event of the master file the name of the page
> that the user requested?
>
> Thank you,
> Samuel
Samuel - 08 Oct 2007 18:41 GMT
Thank you,
Samuel
> Assuming you're talking about the filename, try:
> System.IO.Path.GetFileName(Request.ServerVariables("URL"))
[quoted text clipped - 12 lines]
>> Thank you,
>> Samuel