下面是弹出子窗体不能操作父窗体:
window.showModalDialog(URL,null,'dialogWidth:550px;dialogHeight:400px;center:yes;status:no;dialogWidth:550px;dialogHeight:400px');
下面的代码就是你想要的效果:
this.Response.Write("<script language=javascript>window.open('DirEdit.aspx',null,'top=10,left= ,height=560,width=780,status=no,toolbar=no,menubar=no,location=no,resizable=yes ');window.opener = null;window.close();</script>");