"Kuldeep" <ku****************@hotmail.comwrote in message
news:OT****************@TK2MSFTNGP05.phx.gbl...
Framework: Visual Studio 2005
Technology: ASP.NET 2.0
Language: C#.NET 2.0
How do I invoke a Javascript function as soon as the Web Page [For
example: "somePage.aspx"] is closed?
You can use the <body unload=""or <body beforeunload=""events:
http://www.google.co.uk/search?hl=en...y+unload&meta= http://www.google.co.uk/search?hl=en...reunload&meta=
However, these fire *just before* the page is closed, and are not always
100% reliable.
What are you trying to do, exactly...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net