We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

error when declare a reportviewer in aspx

my aspx:

                   <td>
                                    <ej:ReportViewer ID="rvSF" ReportPath="..\Reports\SubDiario.rdlc" runat="server"></ej:ReportViewer>
</td>

Im getting this error and cant understand why...

the base class includes the field 'rvSF' but its type (Syncfusion.JavaScript.Web.ReportViewer) its not compatible with the type of control (Syncfusion.JavaScript.Web.ReportViewer)

TIA
Ariel

1 Reply

MM Mageshyadav M Syncfusion Team February 28, 2019 09:54 AM UTC

Hi Ariel, 
 
We have validated the mentioned query at our end. We suspect that mentioned issue occurred due to Report Viewer reference doesn’t referred properly at your end. We have prepared standalone sample for Asp.Net web forms in version (16.4.0.52) and please find the code snippet to load RDLC report as given below, 
 
    <form id="form1" runat="server"  onsubmit="return false" style="overflow: hidden; padding:0; margin: 0;height:100%;width:100%;"> 
         <ej:ReportViewer ID="ReportViewer1" runat="server" ReportPath="~/App_Data/MainReport.rdlc" ProcessingMode="Local"/>          
    </form> 
 
The sample can be downloaded from the below location, 
 
Regards, 
Mageshyadav.M 


Loader.
Live Chat Icon For mobile
Up arrow icon