后台调用JS 关模式闭子窗口,刷新页面!!!急!!!
Response.Write("<script>window.opener.location.href=window.opener.location.href;window.close();</script>");
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "info", "window.opener.location.href='Profe/Professor/ProDetail.aspx';window.close();", true);
我以上都不行 ! 都会重新打开 一个新的页面! 注意:('Profe/Professor/ProDetail.aspx')是父页面!