Multiple update panels and multiple postbacks cause entire page to refresh...

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-04-14T17:49:33Z Indexed on 2010/04/14 17:53 UTC
Read the original article Hit count: 681

Filed under:
|
|

I'm having the same problem I had yesterday... The solution Aristos provided helped solve the problem, but I have other places sending updatepanel postbacks causing the same problem.

When an update panel is updated and another request for an update is called before it has a chance to render the first updates, the entire page refreshes instead of just the update panel.

I used fiddler to see what was going on and here's what happens... If I wait for the request to return before doing another request I get this:

21443|updatePanel|dnn_ctr1107_CRM_SalesTool_LeadsUpdatePanel|

But if I don't wait, I get this:

66|pageRedirect||http://mysite.com/salesdashboard.aspx|

The code from the previous question is still the same except I added UpdateMode="Conditional" to the update panel.

Any ideas? Or is the only solution to this making sure that 2+ updates for any number of update panels (as long as they're on the same page) never happen?

Thanks,
Matt

© Stack Overflow or respective owner

Related posts about updatepanel

Related posts about postback