views:

164

answers:

0

We need to prevent the browser from closing (hitting X) in our XBAP application if the user has edited any data. We are checking for this in the Closing event of our Page/Window, doing e.Cancel, and that does fire correctly, however it does not prevent the browser from closing. This does work when closing a tab, but not when closing the whole browser.