1分钟后刷新子页面 [英] Refresh child page after 1 min

查看:84
本文介绍了1分钟后刷新子页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个母版页和一个子页,我想在VS 2008中1分钟后刷新子页.
请解决我的问题.

谢谢.
mohd wasif

Hi,

I have a master page and a child page and I want to refresh child page after 1 minutes in VS 2008.
Please sort out my problem.

thanking you.
mohd wasif

推荐答案

在后面的代码中使用此..
On Code Behind use this..
Response.AppendHeader("refresh", "60");


一个简单的谷歌会给你很多.
以一定的时间间隔刷新UpdatePanel控件 [
A simple google will give you a lot..

refresh an UpdatePanel control at a timed interval[^]


使用Javascript(.NET计时器自它在服务器上,当页面在客户端完全加载时,该进程将终止.
此处 [
Use Javascript (A .NET timer won''t work since it is on the server and the process will die when the page is fully loaded at the client).
There is a tutorial on Javascript timers here[^] which may help.


这篇关于1分钟后刷新子页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆