天天看点

js刷新页面,aspx刷新页面

js刷新页面

location.reload()和history.go(0)

不过后者有个好处,能保持页面滚动条的位置。(IE中测试过)

//------------------------------

aspx刷新页面

private void Button1_Click(object sender, System.EventArgs e)

  {  

Response.Redirect(Request.Url.ToString());