开发者

Closing the browser with Caliburn micro

开发者 https://www.devze.com 2023-03-10 08:11 出处:网络
Just started looking at the amazing framework Caliburn.Micro and was wondering if in a silverlight applicati开发者_StackOverflow中文版on the user attempted to close the browser whilst having partially

Just started looking at the amazing framework Caliburn.Micro and was wondering if in a silverlight applicati开发者_StackOverflow中文版on the user attempted to close the browser whilst having partially filled in a screen, is there a way to notify the user that the screen has changed data? In order words do not close a screen that has been modified.

I was told that there is no way in a web app to capture the browser closing.

Thanks JD


This is not Caliburn Micro related but could help you and could also be combined with the Framework

http://mark.mymonster.nl/2011/01/30/how-to-cancel-the-closing-of-your-silverlight-application-in-browser-and-out-of-browser

let me know if this helps....

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号