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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

No initializing Report Viewer in Net Core 2,1

Thread ID:





145552 Jun 27,2019 05:35 PM UTC Jun 28,2019 05:46 AM UTC Report Platform 1
Tags: Report Viewer
Jose Hernandez
Asked On June 27, 2019 06:20 PM UTC


I'm initializing the report viewer in a net core 2.1 application

What am I doing wrong?

PD: I am helping myself with the following

Attachment: ReportView_443128c6.rar

Vinoth Srinivasan [Syncfusion]
Replied On June 28, 2019 05:46 AM UTC

Hi Jose, 

Thanks for your interest in Syncfusion Components. 

We have checked your sample and you have added the jquery.js script two times in your sample, so it is overriding the Report viewer control. So, we suggest you to add jquery.js script only once as shown in below code example for avoiding the mentioned problem at your end. 

    <meta charset="utf-8" /> 
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /> 
    <title>@ViewData["Title"] - ReportView</title> 
    <environment include="Development"> 
        <link rel="stylesheet" rel='nofollow' href="~/lib/bootstrap/dist/css/bootstrap.css" /> 
        <link rel="stylesheet" rel='nofollow' href="~/css/site.css" /> 
    <environment exclude="Development"> 
        <link rel="stylesheet" rel='nofollow' href="https://ajax.aspnetcdn.com/ajax/bootstrap/3.3.7/css/bootstrap.min.css" 
              asp-fallback-rel='nofollow' href="~/lib/bootstrap/dist/css/bootstrap.min.css" 
              asp-fallback-test-class="sr-only" asp-fallback-test-property="position" asp-fallback-test-value="absolute" /> 
        <link rel="stylesheet" rel='nofollow' href="~/css/site.min.css" asp-append-version="true" /> 
    <link rel='nofollow' href="https://cdn.syncfusion.com/" rel="stylesheet" /> 
    <script src="https://cdn.syncfusion.com/js/assets/external/jquery-1.10.2.min.js" type="text/javascript"></script> 
    <!--Render the chart item. Add this script only if your report contains the chart report item.--> 
    <!--Render the gauge item. Add this script only if your report contains the gauge report item. --> 
    <!--Render the map item. Add this script only if your report contains the map report item.--> 
    <!-- Report Viewer component script--> 
    <nav class="navbar navbar-inverse navbar-fixed-top"> 
        <div class="container"> 
            <div class="navbar-header"> 
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> 
                    <span class="sr-only">Toggle navigation</span> 
                    <span class="icon-bar"></span> 
                    <span class="icon-bar"></span> 
                    <span class="icon-bar"></span> 
                <a asp-area="" asp-controller="Home" asp-action="Index" class="navbar-brand">ReportView</a> 
            <div class="navbar-collapse collapse"> 
                <ul class="nav navbar-nav"> 
                    <li><a asp-area="" asp-controller="Home" asp-action="Index">Home</a></li> 
                    <li><a asp-area="" asp-controller="Home" asp-action="About">About</a></li> 
                    <li><a asp-area="" asp-controller="Home" asp-action="Contact">Contact</a></li> 
    <partial name="_CookieConsentPartial" /> 
    <div class="container body-content"> 
        <hr /> 
            <p>&copy; 2019 - ReportView</p> 
    <environment include="Development"> 
        @*<script src="~/lib/jquery/dist/jquery.js"></script>*@ 
        <script src="~/lib/bootstrap/dist/js/bootstrap.js"></script> 
        <script src="~/js/site.js" asp-append-version="true"></script> 
    <environment exclude="Development"> 
                asp-fallback-test="window.jQuery && window.jQuery.fn && window.jQuery.fn.modal" 
        <script src="~/js/site.min.js" asp-append-version="true"></script> 
    @RenderSection("Scripts", required: false) 
We have modified your sample based on this and it can be downloaded from below location. 

Vinoth S. 


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

Live Chat Icon For mobile
Live Chat Icon