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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Referencing the page Body or Form from Global.asax?

Status
Not open for further replies.

oddball

Technical User
Mar 17, 2000
64
0
0
GB
I need to render the Body or Form tags of every aspx page loaded with a javascript event. This event will open a popup when the main browser is closed.

I can add javacript events to objects using:

object.Attributes.Add("onunLoad", "Logoff.aspx")


So can i reference the Body or Form tags of the loaded page from within the Sub Application_BeginRequest in Global.asax.


cheers,

si
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top