Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

WCF Service to ObjectDataSource fast for GridView and 30 seconds slower for RDLC

$
0
0

I have an asp page with an objectdatasource getting data from a WCF Service. The web service returns a datatable. I compared the speed of data presentation in a gridview and in a RDLC with the reportviewer web control in local mode. The differences are 20 to 30 seconds slower with the RDLC.

I did not have any code behind in both scenarios with all default properties. Is there something I should setup programmatically instead? What can be done to speed the RDLC rendering up? Please advise.

<asp:GridView ID="GridView1" runat="server" DataSourceID="WCFServiceObjectDataSource"></asp:GridView><rsweb:ReportViewer ID="LabReportViewer" runat="server" ><LocalReport ReportPath="BETA.rdlc"><DataSources><rsweb:ReportDataSource DataSourceId="WCFServiceObjectDataSource" Name="NAME" /></DataSources></LocalReport></rsweb:ReportViewer><asp:ObjectDataSource ID="WCFServiceObjectDataSource" runat="server" SelectMethod="GetResults" TypeName="WebApplication.ResultsServiceReference.ResultsServiceClient"><SelectParameters><asp:QueryStringParameter Name="ID" QueryStringField="id" Type="String" /></SelectParameters></asp:ObjectDataSource>


Viewing all articles
Browse latest Browse all 1418

Trending Articles