开发者

Refresh Countdown Timer in .Net From Client Side?

开发者 https://www.devze.com 2023-01-28 01:32 出处:网络
Is it possible to refresh a countdown timer once a page is already loaded from the client side in ASP.NET/C# and if so, how? Once the timer is already going, I need to be able to refresh the timer fro

Is it possible to refresh a countdown timer once a page is already loaded from the client side in ASP.NET/C# and if so, how? Once the timer is already going, I need to be able to refresh the timer from the server side with a new value. Basically, I am trying to replicate beezid.com in ASP.NET.

Edit: I guess what I mean is how do you dynamically refresh the countdown timer in real开发者_JAVA百科-time without polling to occur.


You have to use JavaScript SetTimeout and handle that to an Ajax call!!!

0

精彩评论

暂无评论...
验证码 换一张
取 消