.NET中的timercontrol [英] timercontrol in .net

查看:81
本文介绍了.NET中的timercontrol的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有错误页面,这意味着当发生任何错误时,控制权必须转到此页面,并且从该页面开始,我必须在5秒后重定向到登录页面.

因此,如何做到这一点告诉我我必须在vs .net2.0中使用Ajax计时器控件,但是仍然无法正常运行

I have error page means when any error occurred,control has to go to this page and from this page i have to redirect to login page after 5 seconds

So how to do that one tell me the code and controls I have to take Ajax timer control in vs .net2.0 but still its not working

推荐答案

在您的Custom error page Load event,您可以指定Ajax timer控件,并在特定时间后将页面重定向到登录页面.

或者,如果您遵循相同的过程,则代码中可能存在错误,
只能使用您的代码片段来解决.
Inside your Custom error page Load event you could specify Ajax timer Control, and redirect your page to login page after specific amount of time.

Or if you are following same procedure then error might be in your code,
further can only be solved using your code snippet.


这篇关于.NET中的timercontrol的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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