关于网友提出的“ showModelessDialog的奇怪问题”问题疑问,本网通过在网上对“ showModelessDialog的奇怪问题”有关的相关答案进行了整理,供用户进行参考,详细问题解答如下:
问题: showModelessDialog的奇怪问题描述:
//以下是弹出模态对话框的语句,是可以正常弹出的!
str_NoticeMsg = "showModalDialog('MailManagement/MessageNotice.aspx',window,'dialogWidth:210px;dialogHeight:200px;dialogLeft:1000;dialogTop:1000;help:no;status:no;scroll:no;resizable:yes')";
ScriptManager.RegisterStartupScript(this, this.GetType(), "", str_NoticeMsg, true);
//但是我把showModalDialog改成showModelessDialog后,却弹不出非模态对话框。
//更奇怪的是,弹出了几次,但重新运行系统又不弹出了!!请问是什么原因呢?
解决方案1:
估计是跑到当前页面后面去了,你却以为没弹出。