在asp.net中禁用弹出窗口的关闭按钮 [英] disable the close button of popup window in asp.net

查看:110
本文介绍了在asp.net中禁用弹出窗口的关闭按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一页A.aspx我写下面的代码



 Window.open(B.aspx,height = 100,宽度= 100); 





它打开正常,但我想禁用b.aspx关闭按钮

是否可以在asp.net中使用?



在互联网上搜索我发现通过制作

 fullscreen = yes 

p> window.open

,问题将得到解决。



但我希望弹出窗口应该打开高度和宽度均为100不全屏。





有什么建议吗?



谢谢

Chetan V.

解决方案

根据你所寻求的,AFAIK,它无法完成。


I have one page A.aspx where i wrote below code

Window.open("B.aspx","height=100,width=100");



It opens properly but i want to disable the close button of b.aspx
is this possible in asp.net?

While searching on internet i found that by making

fullscreen=yes

in

window.open

, the problem shall be resolved.

But i want that popup should open with height and width as 100 not full screen.


Any suggestions?

Thank you
Chetan V.

解决方案

Based on what you seek, AFAIK, it cannot be done.


这篇关于在asp.net中禁用弹出窗口的关闭按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆