Hi i am trying to capture the onunload event of a web form because i would like to be able to perform certain things if the user presses the back button. i am using the following instructiong onunload="SaveSettings()" where SaveSettings() is a method defined
in the code behind. The problem is that this method is never executed. I even tried the onbeforeunload but in vain. Any ideas pls? Thanks in advance MD
There is no connection between the browser closing with the server-side event, unload. These things are happening in different contexts, ie, client and server.
dormiz
Member
20 Points
4 Posts
Unload event - not being captured
Apr 26, 2003 01:43 PM|LINK
MIB426
Contributor
3511 Points
852 Posts
Re: Unload event - not being captured
Apr 26, 2003 04:58 PM|LINK
.NET is only way to go
MCP, MCSE, MCDBA, MCSD, MCAD
dormiz
Member
20 Points
4 Posts
Re: Unload event - not being captured
Apr 26, 2003 06:43 PM|LINK
rl711
Participant
825 Points
165 Posts
Re: Unload event - not being captured
Apr 26, 2003 07:53 PM|LINK
twinstars
Member
85 Points
17 Posts
Re: Unload event - not being captured
Aug 29, 2003 10:30 PM|LINK