Bookmark and Share

Tuesday, April 15, 2008

Enable/Disable ASP.NET AJAX Timer using JavaScript

This function controls an asp.net Timer using Javascript:

var timerServiceStatus = $get('<%= TimerServiceStatus.ClientID %>').control;

timerServiceStatus._startTimer();//Timer start

timerServiceStatus._stopTimer(); //Timer stop       




No comments:

Post a Comment