call javascript:<script language=javascript>
window.location.reload(true);
//or
window.location.href = window.location.href + "?t=" + Math.random();
</script>

解决方案 »

  1.   

    我想在server段触发,不在js里写,该如何??
      

  2.   

    server 端触发?何时触发呢?
      

  3.   

    <title>....</title>下面加:
    <meta http-equiv="Refresh" content="30;URL=meige3miaoAdd.aspx">
      

  4.   

    Response.AppendHeader("refresh","5"); //5 seconds
      

  5.   

    to saucer(思归) :
    不用延时,如何做??多谢了!
      

  6.   

    不是通过button或者submit类的控件触发的页面刷新,也不用延时?那你怎么触发刷新啊?
    up
      

  7.   

    放在page_load
    Button1.Attributes.Add("onclick", "window.location.href =index.html")
      

  8.   

    you should add the click handler to the button directly using its Attributes collection: Button1.Attributes.Add("onclick",
    "parent.frames['leftNav'].location.href='page2.aspx';") This adds an additional click handler to
    the button that will run before the page gets submitted.
      

  9.   

    Response.Write("<script>location.href=location.href;</script>");
      

  10.   

    Response.Write("<script>window.location.Reload();</script>");
      

  11.   

    用:
    window.location.Reload();
    方法很多,你知己选!
      

  12.   

    <meta http-equiv="Refresh" content="20;URL=index.aspx"> //20妙
      

  13.   

    我在webform1里用了iframe,里面放了webform2,如何在webform2里点击后使webform1也刷新??