Page Name Property

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.
 
M

Mark

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
 
G

Guest

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






.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top