我如何在aspx页面中设置两个ajax计时器 [英] How can i set two ajax timer in aspx page
本文介绍了我如何在aspx页面中设置两个ajax计时器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
我的下一个问题是;
如何通过一个下面的链接为一个aspx页面设置两个具有differnet间隔的ajax计时器
Hi
My next question is;
How can I set two ajax timer with differenet intervall for one aspx page
推荐答案
通过下面的链接,这可能对您有帮助
此处 [
go through this below link, this may helps you
Here[^]
Thanks
--RA
创建两个更新面板,每个更新面板中都有一个计时器.
在每个updatepanel中设置UpdateMode ="Conditional"
在timer_tick事件的代码背后,执行Update();与该updatepanel中的计时器相关联的updatepanel的信息.
玩得开心
create two updatepanels and have one timer in each updatepanel.
set UpdateMode="Conditional" in each updatepanel
in the codebehind of the timer_tick event do an Update(); of the updatepanel associated to the timer in that updatepanel.
Have fun
这篇关于我如何在aspx页面中设置两个ajax计时器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文