UpdatePanel doesn't load correctly on second try

Posted by Ed Woodcock on Stack Overflow See other posts from Stack Overflow or by Ed Woodcock
Published on 2010-04-12T11:38:20Z Indexed on 2010/04/12 11:43 UTC
Read the original article Hit count: 627

Filed under:
|
|

Ok, I've got two UpdatePanels on a (relatively simple) CRUD-management page, and I'm having some issues with them.

The first updatepanel fails the second time it's updated (infinite loading popout, page doesn't change, request comes back properly but apparently isn't used). The second updatepanel fails if the first updatepanel has updated first, or if a certain internal trigger is pressed twice. Interestingly, the first updatepanel can be called multiple times with no problems if the first has yet to be called.

layout example:

<updatepanel>
    <table>
        <trigger>
    </table>
</updatepanel>

<lightbox>
    <updatepanel>
        <multiple triggers>
    </updatepanel>
</lightbox>

The use of the second updatepanel is required for the lightbox to function correctly (so it can't just be one big one). The first updatepanel exhibits this behaviour regardless of whether the second is present on the page or not.

Has anyone ever experienced similar problems/have any ideas?

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET