Can I stagger UpdatePanel updates in .NET?

Posted by cusimar9 on Stack Overflow See other posts from Stack Overflow or by cusimar9
Published on 2010-06-15T15:45:21Z Indexed on 2010/06/15 15:52 UTC
Read the original article Hit count: 157

Filed under:
|

I have a situation in which I select an account and I want to bring back its details. This is a single UpdatePanel round trip and its quite quick.

In addition, I need to bring back some transactional information which is from a much bigger table and takes a couple of seconds for the query to come back.

Ideally, I would like to put this into a second update panel and update this additional information once it has been received, but after the first update panel has updated i.e. the user sees:

  1. Change account
  2. See account details (almost instant)
  3. See transactional info (2 seconds later)

The only way I can think of doing this is to use javascript to cause a SECOND postback once the account details have been retrieved to get the transaction information. Is there a better way?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about AJAX