you can always use client-side javascript to achieve that, for example, just add<script language="javascript">
function init()
{
  theOtherWindow.location.reload(true);
}
window.onload = init;
</script>

解决方案 »

  1.   

    没看懂,我用的是VB.NET,怎样在代码里实现呢?
      

  2.   

    这个东东直接在客户端就可以搞定了,不必在服务器端来弄,楼上那位已经说得很清楚了,你直接在在客户端调用那个init()就可以了
      

  3.   

    我的意思是说一共有两个页面 PageA.aspx 和 PageB.aspx, 两个页面都已经打开了,我在PageB.aspx里面写了一段代码,提交后怎样能够刷新已经打开了的PageA.aspx页面呢?
      

  4.   

    how are PageA and PageB related? are they in a frame? is one the opener of the other?
      

  5.   

    PageA 上有一个button, 当click这个button后,执行一段代码,然后打开PageB, PageB处理完毕后,如何刷新PageA 呢?
      

  6.   

    in PageB.html, PageB处理完毕后:window.opener.location.reload(true);
      

  7.   

    呵呵,karma(无为)终于说中文了,呵呵
      

  8.   

    在PageB的代码中加入:
                Response.Write("<SCRIPT LANGUAGE=javascript>" + Chr(13) + "<!--" + Chr(13))
                Response.Write("window.open('PageA.aspx','_self');" + Chr(13))
                Response.Write("//-->" + Chr(13) + "</SCRIPT>")
      

  9.   

    当你点击某一个按钮的时候,想刷新另外一个窗口,可以使用下面的方法:
    Button_Click(...)
    {
       Response.Write("<SCRIPT LANGUAGE=javascript>" + Chr(13) + "<!--" + Chr(13));
       Response.Write("winname.Location.Reload(true);" + Chr(13));
       Response.Write("/");
       Response.Write("/");
       Response.Write("-->" + Chr(13) + "</");
       Response.Write("SCRIPT>");
    }
      

  10.   

    C#  中  “+ Chr(13) +” 如何表示??