Hi all,
I had developed a module for integrate all in one SQL Server Reports & Fusion Charts feature, but I have some errors.
In SQL Server Reporting, I had a ReportViewer control in my ascx, include in my reference the two library (Common & Webforms) of Microsoft Reporting and then create a rdlc file for use it in local mode and not with Reporting Services. When I tried it the module got in error, if I remove the include directive of Microsoft reporting and the report viewer control the module work.
The code is there:
ASCX:
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<rsweb:ReportViewer ID="ReportViewer1" runat="server"></rsweb:ReportViewer>
Code behind:
string reportPath = "http://" + PortalAlias.HTTPAlias + "/portals/" + PortalId + "/Reports/Report.rdlc";
var rds = new ReportDataSource("ReportTable", dsReport);
ReportViewer1.ProcessingMode = ProcessingMode.Local;
ReportViewer1.LocalReport.ReportPath = reportPath;
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(rds);
ReportViewer1.LocalReport.Refresh();
In FusionCharts I have no problem with the code or the ascx, but when I tried to render the chart, the area is blank, but the html response is correct, any idea about no rendering?
Thanks for all help.
Best regarding,
Simone Sanfilippo