1、在所要打开的窗体中加入js代码

<script type="text/javascript">
        window.name = "curWindow";
 </script>

2、在from表单的上面加一个target属性

    <form id="form1" runat="server" target="curWindow">


刷新后问题解决,哈哈。。。

模态窗口打开方法:

window.showModalDialog("../report/ReportAdd_Edit.aspx?" + params, null, "dialogWidth:820px;dialogHeight:680px;help:no;resizable:yes;status:no;center:yes;");

 

相关文章:

  • 2022-12-23
  • 2021-09-27
  • 2021-12-06
  • 2021-05-23
  • 2022-12-23
  • 2021-08-18
  • 2021-06-24
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2021-07-11
  • 2021-06-22
  • 2021-05-24
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案