Reset the MS AJAX TimerControl’s countdown.

Are you using a MS AJAX timer control to auto refresh content on your page but want to reset the timer when a user action forces a refresh. In your server side code you can reset the timer by adding two lines like this: Protected Sub ButtonResetTimer_Click(ByVal sender As Object, ByVal e As System.EventArgs) TimerControl1.Enabled = False TimerControl1.Enabled = False End Sub Read More... Share this post: Email it! | bookmark it! | digg it! | reddit!...(read more)

RSS feed for comments on this post · TrackBack URL

Leave a Comment

You must be logged in to post a comment.