Apr 03, 2007 01:09 PM|mosessaur|LINK
thinking if there is a way to stop/start ASP.NET 2.0 AJAX 1.0 Timer control from client side, regarding that, I found 2 methods
_startTimer() and _stopTimer(), those were excatly what I was looking for.
bellow is a sample client code of how you can use these 2 methods:
var timer =
The above code assuming that you have an AJAX Timer control on the page named
Call these method from your client side code, or add them as event handlers on your target elements.
I don't know why these are not documented, or we are not supposed to use them?! Actually I don't know.
I thought that after using these methods the browser will cause a problem regarding client scripts, but both Opera and IE worked just fine without any problem. Also I didn't notice any slow down or hanging in both browsers.
Hope you find it useful.
AJAX Timer Control