0

I have several UpdatePanels on a page and they have been set with a mode of Conditional. I see a flicker in the controls outside of the UpdatePanels when there is an event that occurs within the UpdatePanel (Say a button click).

The page doesn't post back but the user experiences a "Flicker".

Any idea what might be going on here?

1
  • If you'd try to create a small as possible page which you can post here, that way we could look at what goes wrong, and chances are, by reducing the problem you'll find the culprit. Apr 16, 2009 at 14:18

3 Answers 3

1

I think you might have got the UpdateMode wrong. By default it is 'Always' if you change it to 'Conditional' it should fix your problem

2
  • 1
    Yes, I have set the mode to Conditional as noted in my question. I don't experience a postback, rather there's a flicker.
    – Bob Smith
    Apr 15, 2009 at 22:41
  • 1
    I see, how big is your update panel? I had similar problem when I develop a large form with one update panel. You might consider splitting it into multiple small update panel sections then use 'Trigger' or even make it update manually.
    – oscarkuo
    Apr 15, 2009 at 23:02
0

Do you have event handlers for controls inside the UpdatePanels that make updates to controls outside of the UpdatePanels?

You could try selectively commenting event handlers until it stops flickering to find the culprit.

I also found Firebug to be useful in these cases - you can see the exact HTML going into the updated regions.

0

You don't say what the callback inside the UpdatePanel is doing.

If it is updating the contents of the panel itself, it could be be the browser is simply repainting the entire page layout to account for the new content just as it would if you resized the browser window.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.