Need help with creating a server-side validation alert that appears when the user tries to close the browser, and prevents the page from closing after the alert is displayed. The solution must be done entirely in the Codebehind with no code in the aspx page. Ideally, looking for a code snippet for .NET 1.1.