I'd like to warn users when they try to close a browser window if they didn't save the changes they made in the web form.
I'm using ASP.NET 3.5 (with ASP.NET Ajax).
Is there a common solution which I could easily implement?
EDIT: maybe my question wasn't clear: I am specifically looking for a way which integrates gracefully in the ASP.NET Server Controls methodology.