Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get the current page 1

Status
Not open for further replies.

shatch

Programmer
Jul 9, 2004
346
GB
Hi

Is it possible to get the current page (being processed) from a module? I know its possible to get stuff like the current context, etc but i need to be able to perform a findcontrol on the page.

I could put the functionality in a class, but as far as i see it i would have the same problem. Also, i dont want to pass the current page to the function I have written.

I would appreciate any thoughts, thanks
 
Resolved, if anyone is interested

Dim objPage as Page = ctype(httpcontext.current.handler, Page)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top