I would like to ask the user to save the text before leaving the page. I use the onbeforeunload event for this.
But when the user clicks my savebutton in the toolbar, a beforeunload event is fired before the postback is fired.
Does anyone has the solution for this problem?
Thanks,
Arno