Bug Bash: Enabling/Disabling the ASP.NET AJAX Timer using the Control's Client Side API

  

Matt Berseth tells in his blog about intresting bug in the new AJAX ASP.NET Timer control and shows how to solve it. Matt writes:

«I know most dev's prefer writing new code over fixing/maintaining the existing stuff. And most days I feel the same way. But every once in a while it is kind of fun signing up for that one lingering defect that no one else can seem to fix. Maybe you know the one - its not reproducible, only occurs in production and brings the system to its knee's? Sound familiar?

Well I thought I might try something new and blog about some of the juicy bugs we have found hanging out in our app. This might turn into a blog series or something, or maybe not. Who knows.

The app I am currently working on has a page that uses ASP.NET AJAX's new Timer control to automatically refresh the page every 30 seconds. The page is one of those status pages that lets you monitor the progress of some off-line processes. Under normal usage a user would make a request to run some off-line process and then be taken to this page where they can monitor the progress. »

Source:Matt Berseth blog.

Comments

You can use simple HTML-formatting tags(like <b>, <ul>, <code> and others)