父窗体中的一个BUTTONScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(), "okLogin", "window.showModelessDialog('Default2.aspx','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,width=750,height=470,left=80,top=40')", true);子窗体中的BUTTONthis.Response.Write("<script>window.opener.location.href=window.opener.location.href;window.close();</script>");