弹出新页面,操作后自己关闭并使父窗体跳转到相应界面

string Url=null;
Url = Request.ApplicationPath+"/CheckList/FireCheckList.aspx?State=1";
Response.Write("<script language='javascript'>window.opener.Form1.submit();</script>");
Response.Write("<script language='javascript'>window.opener.location.href='"+Url+"';</script>") ;
Response.Write("<script language='javascript'>window.opener=null;window.close();</script>");

你可能感兴趣的:(跳转)