Report Viewer on Asp.net Core page

2 posts, 0 answers
  1. Carlos
    Carlos avatar
    17 posts
    Member since:
    Jun 2019

    Posted 09 Jan Link to this post

    Is it possible to add the code from the HTML5 report viewer to a view (cshtml file) in asp.net core 2.2 and have it work?  I am trying to avoid any static files. I followed this example:  https://docs.telerik.com/reporting/manual-setup-of-html5-report-viewer-in-asp-net-core-2.  I put the head info in the _layout.cshtml file and the viewer code on the index.cshtml.  It throws this error:

    Uncaught TypeError: $(...).telerik_ReportViewer is not a function
        at HTMLDocument.<anonymous> ((index):87)
        at l (jquery-3.3.1.min.js:2)
        at c (jquery-3.3.1.min.js:2)

  2. Carlos
    Carlos avatar
    17 posts
    Member since:
    Jun 2019

    Posted 10 Jan in reply to Carlos Link to this post

    I found an answer at https://www.telerik.com/forums/telerik-reporting-with-net-core#L1bm8WdS4060G5UqI_1Wag

    Thanks

Back to Top