如何在asp.net中让页面重新装载或则被替换??类似于javascript的location.reload(),和location.replace(...)方法。

解决方案 »

  1.   

    或者你在左边工具箱中的HTML下面加一个按钮上来,然后到下面的HTML里去编辑代码
    <input type="button" name="dfd" value="重载" onclick="javascript:location.reload()">
    或者
    <input type="button" name="dfd" value="重载" onclick="javascript:location.replace(...)">
      

  2.   

    window.location.reload();window.history.go(0);window.location.replace(window.location.href)window.location.assign(window.location.href)
      

  3.   

    其实只要这样一句话就可以实现了 :
    Response.Write("<script>window.opener.location.replace('MAD.aspx');self.close();</script>")