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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

error when declare a reportviewer in aspx

Thread ID:

Created:

Updated:

Platform:

Replies:

142981 Feb 27,2019 01:18 PM UTC Feb 28,2019 09:54 AM UTC Report Platform 1
loading
Tags: Report Viewer
ariel gimenez
Asked On February 27, 2019 01:18 PM UTC

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

Mageshyadav M [Syncfusion]
Replied On 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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;