Home All Groups Group Topic Archive Search About
Author
3 Mar 2006 7:07 PM
HockeyFan
in base base class of a codebehind, how can I tell what page it is?
I'd like to know what page it is, so that I can redirect to a particular
page, get some information from the user, and then return to the page that
user was on.

Author
3 Mar 2006 8:39 PM
HockeyFan
Didn't get an answer to I kept hunting, and solved it this way.

        Dim CurrentPage As String =
System.Web.HttpContext.Current.Request.Url.AbsolutePath.ToString()



Show quoteHide quote
"HockeyFan" wrote:

> in base base class of a codebehind, how can I tell what page it is?
> I'd like to know what page it is, so that I can redirect to a particular
> page, get some information from the user, and then return to the page that
> user was on.
>
Author
4 Mar 2006 6:36 AM
Cor Ligthert [MVP]
HockeyFan,

> Didn't get an answer to I kept hunting, and solved it this way.
>
Probably because your question looks strange it sounds for me as.

When I am talking with somebody, how do I know than who I am.

Cor