Really strange ajax Timer problem in IE

Last post 07-27-2007 10:24 AM by kreid. 0 replies.

Sort Posts:

  • Really strange ajax Timer problem in IE

    07-27-2007, 10:24 AM
    • Loading...
    • kreid
    • Joined on 10-19-2006, 8:15 AM
    • Posts 85

     Hi,

    Let me first stress that the following problem does not appear in firefox.

    I have a page with a dropdown list that is used to select an option. The page alo contains an Updatepanel with a timer and a couple of labels inside.

    Once the option is selected from the dropdownlist, my codebehind  sets the updatepanel to be visible, enebles the timer, and sets the timer's interval to 1, so that the labels will be instantly updated.  In the Timer_Tick function, I disable the timer and set it's interval to 6000, do some processing to populate the 2 labels, then enable the timer again. In firefox, the timer then happily churns away, updating the page every 6 seconds.

    In IE however, it does not update - if i look at the status bar, it flickers very rapidly between "Done" and "Waiting for ...." and the progress bar appears full, but flickers very quickly.  Also, the tab for the page flickers at the same rate between "Connecting..." and "Untitled Page" with the little blue ring going back and forth like a dj scratching a disc.



    But wait... there's more.  Sometimes, when I right click on the page and then left click on the body of the page, the operatiion completes, and the updatepanel updates as expected.  Following this, the timer behaves itself and updates the page every 6 seconds.

     

    Can anyone help if they have experienced this behaviour before?

    Thanks,

    kreid 

    Filed under: , , ,
Page 1 of 1 (1 items)
Microsoft Communities
Page view counter