Link to home
Start Free TrialLog in
Avatar of michael1174
michael1174Flag for United States of America

asked on

User closes out Internet Explorer, what to do? use onbeforeunload?

If a user closes out of Internet Explorer by using the X in the top right corner, how can I prompt the user and ask them if they want to save or cancel the transaction?  If they want to save, I need to call a C# SaveValues() method, if they want to cancel, I need to call a C# RollBack() method.  Is this possible? Do I need a pop up?  I read dont use popups, because pop up blockers will cause them not to load.

Whats the best solution using asp.net 1.1, c#, javascript...

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Isisagate
Isisagate

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial