我打算在打开弹出窗口时禁用或废弃webform中的控件箱(最小化,最大化,关闭) [英] I Want To Disable or Crap the controlbox(minimize,max,close)in webform when am opening that has the popup

查看:114
本文介绍了我打算在打开弹出窗口时禁用或废弃webform中的控件箱(最小化,最大化,关闭)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用下面的代码将vendorupdate.aspx表单显示为popup.when作为弹出窗口打开,它显示没有控制框....任何人都可以给我这个想法吗?





i used the below code to display the vendorupdate.aspx form as popup.when is opening as a popup,it shown without the controlbox....anyone can you give me the idea for that?


Button1.Attributes.Add("onclick", "window.open('VendorUpdate.aspx','','center=yes,height=415,width=660,resizable=no');return false");









分享共享...





thaks for sharing...

推荐答案

你不能。如果随机网站能够打开无法关闭或最小化的弹出窗口,您的屏幕很快就会充满广告,假病毒警告和其他垃圾。



如果要打开没有任何控件的对话框,则需要在同一窗口中显示对话框的内容 - 例如 jQueryUI的对话框小部件 [ ^ ]。
You can't. If random websites were able to open popup windows that couldn't be closed or minimized, your screen would soon be full of adverts, fake virus warnings, and other junk.

If you want to open a dialog box without any controls, then you need something that displays the dialog within the same window - something like jQueryUI's dialog widget[^].


这篇关于我打算在打开弹出窗口时禁用或废弃webform中的控件箱(最小化,最大化,关闭)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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