弹出窗体后再刷新的问题

来源:互联网 发布:小米怎么优化 编辑:程序博客网 时间:2024/05/12 11:58

可用

Response.Write("<script>window.showModalDialog('../OA/SPCL.aspx',window,'dialogHeight: 300px; dialogWidth: 427px; dialogTop: 200px; dialogLeft: 133px')</script>");//open
            Response.Write("<script>document.location=document.location;</script>");

在子窗体页面代码head中加入<base target="_self"/>

刷新的内容加在   if (!IsPostBack) 中

原创粉丝点击