In my application, I'm using the onbeforeunload event to check for unsaved changes by the user. This works great for regular forms. I tried the same approach with pages used as RadWindows, and it kind of works. If I change a value on the radwindow and click the "x" to close it without saving, the RadWindow closes and then the prompt to save shows up. Obviously this is too late since the RadWindow is now gone. I thought about trying to use the OnClientClose event on the RadWindow, but the documentation states that it is called after the window is closed. Is there a way to to run some javascript when the "x" on the RadWindow is clicked so that I have a chance to stop it and ask the user to save changes?
Doug
Doug