在子窗口b中加入<body……>
<base target="_self">

解决方案 »

  1.   

    建议把具体的代码写在另外一个叶面中,在ModalDialog叶面中用Iframe包含那个页面
      

  2.   

    to  gOODiDEA(无语) 能给个简单的例子吗?谢谢
      

  3.   

    提示:关闭子页面后地址栏显示http://......../#
    原来没有错误的时候地址栏显示http://......../parent.aspx#
    请问是不是跟这个#号有关啊?
      

  4.   

    string url = "showModalDialog('a.aspx?com_id=" + ViewState["Id"] + "','','dialogHeight: 443px; dialogWidth: 694px; status:no;help:no;edge:sunken;resizable:yes`;')"; b.Attributes["onclick"] = url; b.Attributes["href"] = "#";
    我试过,没有问题