Asynchronus call to query in ASP.NET page

A

Adnan

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
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top