I have an AJAX-based grid control.
We hook into the window.onbeforeunload event to check if they have unsaved data and if so present them with a message \"Are you s
If you want to trigger your postback by a hyperlink, there is a simple workaround: Instead of
Submit
or
just use this code:
It seems that IE fires the onbeforeunload event if the content of the href-attribute of a hyperlink is not the current page (which the sharp character indicates).