How do I make my asp.net page refresh?

1. document.location.reload() // 不好的地方: 如果是回发,会弹出一个是否重新提交的警告框。

2. Response.AddHeader("Refresh", "0") // 0秒自动刷新,不好的地方:你还是可以感觉到是被刷新。

3. Response.Redirect(Request.Url.AbsoluteUri); // 重定向到当前页面。

4. 如果回发了一次,那么使用document.location.reload(),会弹出一个是否重新提交的警告框。而使用window.location.href = window.location.href则不存在这个问题。