如何在asp.net appplication中自动刷新页面? [英] how page refresh automatically in asp.net appplication?
本文介绍了如何在asp.net appplication中自动刷新页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net appplication中自动刷新页面?
how page refresh automatically in asp.net appplication?
推荐答案
不确定你的期望。而不是刷新你可以重定向页面的页面。你可以重定向在同一页面上使用以下代码:
Response.Redirect(Request.RawUrl);
如果你想在客户端而不是服务器上做,
使用javascript:document.location.reload()
或
window.location.href = window.location;
自动刷新参考以下网址。
< [ ^ ]
Hpe这将解决你的问题!
Not sure what you expected.instead of refreshing a page you could redirect the page .you could redirect on the same page using following code :
Response.Redirect(Request.RawUrl);
If you want to do on clientside and not the server,
use javascript:document.location.reload()
or
window.location.href= window.location;
for Automatic refreshing refer following url.
< [^]
Hpe this will solve ur problem!
看看这个:
自动刷新网页 [ ^ ]
希望它帮助:)
check this out:
Auto Refresh Web Page[^]
hope it helps :)
这篇关于如何在asp.net appplication中自动刷新页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文