弹出子页面及关闭子页面后刷新父页面
1、弹出子页面:
Response.Write("<script>showModalDialog('htxx_copy.aspx?id=" + id + "&t="+DateTime.Now.Millisecond+"',window,'dialogWidth:350px;dialogHeight:300px')</script>");
2、子页面关闭后刷新父页面:
Page.ClientScript.RegisterStartupScript(Page.GetType(), "00", "<script>alert('保存成功!');window.close();window.dialogArguments.window.location=window.dialogArguments.window.location;</script>");