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
Starting in 2019, the Reporting control is no longer included in Essential Studio. If you're experiencing issues with the Syncfusion Reporting Platform, Report Viewer, Report Designer, or Report Writer, we recommend migrating to Bold Reports, our dedicated reporting platform.

Bold Reports offers a comprehensive suite of tools and features for all your reporting needs, and we will help you make a smooth transition from the discontinued control. Our support team at https://support.boldreports.com/ is here to assist you with any questions or difficulties you may encounter during the migration process.

We thank you for choosing Syncfusion and appreciate your understanding.

Uncaught ejReportViewer: methods/properties can be accessed only after plugin creation

I am opening a Report Viewer Control in my a Modal pop up .

The Code is as shown 

 @using ReportViewerForMvc;
    @using Syncfusion.MVC.EJ;
    @using Syncfusion.JavaScript;

    <link rel='nofollow' href="@Url.Content("~/Content/ej/web/Default-theme/ej.widgets.all.min.css")" rel="stylesheet" />
     <script src="@Url.Content("~/Scripts/jquery-1.10.2.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jsrender.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.easing.1.3.min.js")"></script>
    <script src="@Url.Content("~/Scripts/jquery.globalize.min.js")"></script>
    <script src="@Url.Content("~/Scripts/ej/ej.web.all.min.js")"></script>
    <script src="@Url.Content("~/Scripts/ej/ej.unobtrusive.min.js")"></script>
   

    <div id="rptContainer" style="height: 650px;width: 900px;min-height:404px; overflow-y:hidden">
        @(Html.EJ().ReportViewer("reportviewer").ProcessingMode(Syncfusion.JavaScript.ReportViewerEnums.ProcessingMode.Remote)
               .ReportServiceUrl(@Url.Content("~/api/ReportAPI")).Parameters(param =>
               {
                   param.Name("UserId").Values(new List<string> { Convert.ToString(ViewBag.UserId) }).Add();
               })
           .ReportServerUrl(Convert.ToString(ViewBag.ServerUrl))
            .ReportPath(Convert.ToString(ViewBag.ReportPath)))
    </div>
    <p class="pull-right">
        <input class="btn btn-success" type="button" id="btnClose" value="CLOSE">
    </p>
    
    @Scripts.Render("~/bundles/bootstrapOnly")

    @*<script>
        $(function () {
            $("#rptContainer").ejReportViewer({
                reportServiceUrl: "../api/ReportAPI",
                processingMode: ej.ReportViewer.ProcessingMode.Remote,
                reportPath: "/hydServerReports/Reports/Total_Reported",
                reportServerUrl: "http://hydlab01sql/ReportServer/"
            });
        });
        </script>*@
    @(Html.EJ().ScriptManager())

The modal pop opens well for the first time well, but after the second time it Show error as logged in Browser network tab 
Please find the attachment 

Attachment: ReportViewerError_903a8b1.zip

1 Reply

VP Venkatesan Pandian Syncfusion Team November 9, 2015 11:06 AM UTC

Hi Vijay

We have updated the details regarding this in your incident and please log on to our support website to check for further updates
https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Venkatesan

Loader.
Live Chat Icon For mobile
Up arrow icon