取消激活浏览器关闭按钮 [英] Deactivate browser close button
本文介绍了取消激活浏览器关闭按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
运行我的应用程序时是否可以取消激活浏览器关闭按钮?
一次我注销我的应用程序我想再次激活关闭按钮。
Hi
Is it possible to deactivate browser close button while running my application?
Once i log out my application i want activate close button again.
推荐答案
按照如何在asp.net中隐藏或禁用web表单的colse(x)按钮 [< a href =http://www.codeproject.com/Questions/457767/How-to-hide-or-disable-colse-x-button-of-a-web-fortarget =_ blanktitle =新窗口> ^ ]。
您无法通过ASP.Net停用浏览器关闭按钮。
即使本地客户端也可能无法启用禁用关闭按钮。
You cannot deactivate the browser close button through ASP.Net.
Even the local client may not be able to disable the close button.
完全取决于浏览器本身,你无法禁用它。
而你可以做的是尝试类似'浏览器退出'的内容。请参阅此 [ ^ ]
-KR
It is totally depend upon the browser itself and you just can't disable it.
Rather what you can do is, try out something like 'Logout on browser exit'. See this[^]
-KR
这篇关于取消激活浏览器关闭按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文