ASP.Net SSRS Report Viewer 9.0 and 10.0 Side-By-Side Report Viewer
We are deploying a large deployment of SQL Server Reporting Services and our platform is SQL Server 2005, so our report server is version 2005 running in native mode. Our web application uses the server reports provided in the Report Viewer 9.0 control. We want to be able to use local reports based on the RDL 2008 specification to build some dashboard applications. We would also like to use the new 10.0 Viewer to view these reports.
Is there a way to run these both sides in the same project? If so, how are we going to do it? Create custom server control?
a source to share
Install both versions to the GAC.
Register both versions on the page using:
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb10" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb9" %>
and finally use controls like <rsweb10:ReportViewer />
and<rsweb9:ReportViewer />
a source to share