Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2007

Tip: Looking for answers? Try searching our database.

Asynchronus call in ASP.NET page?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Adnan - 24 Jul 2007 15:52 GMT
Hi
If I have 2 different controls in a webpage Gridcontrol and reportviewer and
an asynchronus call for reportviewer query.

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

Wil the Gridcontrol not be rendered and visible on thepage until the
asynchrounus query has completely run?

Thanks in advance.
A
bruce barker - 24 Jul 2007 16:34 GMT
nothing will be render until the query completes. once your asynch
handler completes, page processing starts back up to produce the html
and send it back to browser.

in general the page will not render any faster than if you did a sync
query, async processing allows th page worker thread to return to th
pool to process other request while your async process thread runs.

-- bruce (sqlwork.com)

> Hi
> If I have 2 different controls in a webpage Gridcontrol and reportviewer and
[quoted text clipped - 8 lines]
> Thanks in advance.
> A
Adnan - 24 Jul 2007 17:02 GMT
Hi Bruce

This means asynchronous model is not the answer to what I want to implement.

I want to display the grid - while the query of the report keeps executing
asynchrouonusly and the report comes up only when the query has completed.
(Something like on a dashboard all reports come up when they have the result
set where the rest keep running).

Am I looking in the wrong direction here?

Thanks
A.

> nothing will be render until the query completes. once your asynch
> handler completes, page processing starts back up to produce the html
[quoted text clipped - 18 lines]
> > Thanks in advance.
> > A

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.