This is a migrated thread and some comments may be shown as answers.

Report Viewer on Asp.net Core page

1 Answer 127 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 09 Jan 2020, 06:26 PM

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)

1 Answer, 1 is accepted

Sort by
0
Carlos
Top achievements
Rank 1
answered on 10 Jan 2020, 02:54 PM

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

Thanks

Tags
General Discussions
Asked by
Carlos
Top achievements
Rank 1
Answers by
Carlos
Top achievements
Rank 1
Share this question
or