ASP.NET/AJAX - Timer delay

Posted by Julian on Stack Overflow See other posts from Stack Overflow or by Julian
Published on 2010-05-02T10:38:37Z Indexed on 2010/05/02 10:47 UTC
Read the original article Hit count: 298

Filed under:
|
|

I've got a problem with the timer in asp.net ajax. The timer needs to trigger every second so I put the delay of the timer (don't know the real name atm) at 1000.

Now when I put this timer inside an UpdatePanel it doesn't really trigger every second because the timer also gets updated in the UpdatePanel. But when I put the timer outside the update panel it keeps kinda refreshing the page, so whenever I put a button on the same page I need to press and release this button within 1 second else it gets refreshed.

Also I saw that even outside of the UpdatePanel the timer isn't a real second.

Any solutions?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX