Multiple report viewers on one page issue
I am creating an ASP.NET 4.0 page with 2 report viewers (report viewer 10) each loading a different report. Both report viewers load their reports but the second report viewer and loading animation image wait to begin loading until the first report
viewer is done loading its report. Is there any way to have both report viewers load simultaneously so that the second report viewer does not have to wait on the first report to finish loading? Here is my report viewer markup/settings:
<rsweb:ReportViewer ID="vw" runat="server" BorderStyle="None" InternalBorderColor="White"
ProcessingMode="Remote" ShowParameterPrompts="false" ShowToolBar="false" SizeToReportContent="true"
ZoomMode="Percent" ZoomPercent="100">
</rsweb:ReportViewer>
Thanks for any help in advance.
May 17th, 2012 3:35pm
I am creating an ASP.NET 4.0 page with 2 report viewers (report viewer 10) each loading a different report. Both report viewers load their reports but the second report viewer and loading animation image wait to begin loading until the first report
viewer is done loading its report. Is there any way to have both report viewers load simultaneously so that the second report viewer does not have to wait on the first report to finish loading? Here is my report viewer markup/settings:
<rsweb:ReportViewer ID="vw" runat="server" BorderStyle="None" InternalBorderColor="White"
ProcessingMode="Remote" ShowParameterPrompts="false" ShowToolBar="false" SizeToReportContent="true"
ZoomMode="Percent" ZoomPercent="100">
</rsweb:ReportViewer>
Thanks for any help in advance.
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 3:40pm
Hi There
Please try to the AsyncRendering property of
ReportViewer
is set the True.
Then ReportViewer will render the report within an IFRAME on the page.
By using this remainder of the page can load without being blocked by the ReportViewer control
If you have any question please let me know.
Many Thanks
Syed Qazafi Anjum
Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
May 17th, 2012 4:26pm
Hi There
Please try to the AsyncRendering property of
ReportViewer
is set the True.
Then ReportViewer will render the report within an IFRAME on the page.
By using this remainder of the page can load without being blocked by the ReportViewer control
If you have any question please let me know.
Many Thanks
Syed Qazafi Anjum
Please click "Mark as Answer" if this resolves your problem or "Vote as Helpful" if you find it helpful.
Free Windows Admin Tool Kit Click here and download it now
May 17th, 2012 6:43pm
Hi Syed,
The AsyncRendering defaults to true in report viewer 10 so setting this property to true does not fix my issue. Also report viewer 10
no longer renders an iframe. Here is a good article that speaks to these topics: http://blogs.msdn.com/b/brianhartman/archive/2010/01/21/asyncrendering-and-all-the-baggage-that-comes-with-it.aspx
My issue in NOT that my page is blocked from loading. My issue is that the second report viewer is blocked from loading until the first report viewer finishes loading.
Thanks
May 18th, 2012 8:28am
I receive a response from Microsoft that this is a current limitation of the report viewer 10:
This is a known limitation with the current version of the report viewer and something we would like to address in the future. I have seen customers work around this
problem by placing the report viewers on their own page and using an iframe on your main page. The browser should then render them in parallel if they are using server mode and you dont use ASP.Net session. In local mode or in server mode with
ASP.Net session, ASP.Net will serialize the requests by locking on the session.
Free Windows Admin Tool Kit Click here and download it now
May 18th, 2012 1:44pm