把_self改成_blank
window.open("C.aspx","_blank","toolbar=yes,location=yes,directories=yes,menubar=yes,resizable=yes",true);

解决方案 »

  1.   

    看来星星们都说了不能了,就照幕白兄的思路做吧!不关也得MoveTo(十万八千里)
      

  2.   

    sorry看错了,
    可以打开新窗口,然后关闭B窗口
    window.open('../workonline/main.aspx',null,'top=160,left=190,width=645,height=411,status=yes,resizable=yes');window.close();window.opener.close();</script>")
      

  3.   

    不可以,只是可以在B窗口打开另外的文件,但改变状态确实不可以,
    先打开C窗口,然后关闭B窗口吧,这样就可以达到你想要地效果了。
      

  4.   

    http://www.csdn.net/develop/Read_Article.asp?Id=15113
    http://expert.csdn.net/Expert/topic/2001/2001793.xml?temp=.1702082
    http://expert.csdn.net/Expert/topic/1911/1911975.xml?temp=.4667322关于模态窗口(showModalDialog)的专题讨论!
    1.模态窗口的打开
    2.模态窗口的关闭
    3.模态窗口的传递参数。
    4.其他。
    1.window.showModalDialog("DialogPage.aspx","newwin","dialogHeight: 200px; dialogWidth: 150px; dialogTop: 458px; dialogLeft: 166px; edge: Raised; center: Yes; help: Yes; resizable: Yes; status: Yes;");2.window.close();3.传值
    ParentPage.aspx:
    window.showModalDialog("DialogPage.aspx?para1=aaa&para2=bbb");DialogPage.aspx:
    string str1=Request.QueryString["para1"].toString();
    string str2=Request.QueryString["para2"].toString();返回值
    DialogPage.aspx:
    window.returnValue="aaa";ParentPage.aspx:
    var str=window.showModalDialog("DialogPage.aspx");4.
    aspx页面在showmodeldialog情况下为什么一提交就重新打开一个页面?
    showmodaldialog打开的页面中在<head></head>之间加入一行:<base target="_self">