Page Name Property

  • Thread starter Thread starter Geof Wyght
  • Start date Start date
G

Geof Wyght

Hello,
Is there a property of an asp.net page that gives the
name of the page, such as "index.aspx"?
Thanks.
Geof.
 
Try out something like:

HttpContext.Current.Request.RawUrl.ToString();
HttpContext.Current.Request.Url.ToString();

There are several other properties in the Request class that may be of use
to you. hth.

Mark
www.dovetaildatabases.com
 
Okay, I'll try those thanks.
Geof.
-----Original Message-----
Try out something like:

HttpContext.Current.Request.RawUrl.ToString();
HttpContext.Current.Request.Url.ToString();

There are several other properties in the Request class that may be of use
to you. hth.

Mark
www.dovetaildatabases.com






.
 
Back
Top