Asynchronus call to query in ASP.NET page

Discussion in 'ASP .Net Web Controls' started by Adnan, Jul 24, 2007.

  1. Adnan

    Adnan Guest

    Hi All
    I have a gridview and a reportviewer on my webpage where the reportviewer
    queries (taking 1 min) run asynchronusly in Page_Load.

    AddOnPreRenderCompleteAsync(new BeginEventHandler(BeginAsyncOperation),new
    EndEventHandler(EndAsyncOperation));

    However the page does not return and display the rest of controls until the
    Asynchornus calls have run.

    I thought using an asynchornous approch would mean all controls including
    the Gridview will be viewable and clickable and the reportviewer will be
    rendered only when the query has run.

    Is there a way in which I can enable all the other controls to be viewable
    while the reportviewer asynch calls are still running ?

    Thanks
    A
     
    Adnan, Jul 24, 2007
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthew Louden
    Replies:
    4
    Views:
    3,343
    Fahad Al Hadhrami
    Nov 24, 2003
  2. Hoss
    Replies:
    5
    Views:
    5,444
    rednael
    Sep 15, 2008
  3. Dica
    Replies:
    2
    Views:
    757
  4. =?Utf-8?B?QWRuYW4=?=

    Asynchronus call in ASP.NET page?

    =?Utf-8?B?QWRuYW4=?=, Jul 24, 2007, in forum: ASP .Net
    Replies:
    2
    Views:
    588
    =?Utf-8?B?QWRuYW4=?=
    Jul 24, 2007
  5. Eric Nelson
    Replies:
    5
    Views:
    1,748
    Alexey Smirnov
    Feb 4, 2009
  6. vicky_smiles007

    Asynchronus binding grid view

    vicky_smiles007, Jul 17, 2011, in forum: .NET
    Replies:
    0
    Views:
    1,099
    vicky_smiles007
    Jul 17, 2011
  7. Matthew Louden

    how ASP.NET page gets user input from another ASP.NET page??

    Matthew Louden, Nov 22, 2003, in forum: ASP .Net Web Controls
    Replies:
    5
    Views:
    348
    Fahad Al Hadhrami
    Nov 24, 2003
  8. Replies:
    3
    Views:
    291
    Michael Winter
    Feb 16, 2004
Loading...