I'm trying to add a page to an MVC app using Razor. I've seen articles that refer to passing the ReportViewer object into the view and calling Html.ReportViewer to render it but that method doesn't exist. From what I can tell that may only exist if you use a older non microsoft nuget package. I'm curious if there is another way...or what the recommended way to use the report viewer...or for that matter to display an SSRS report in a razor page.
Hi
@Brandon Owensby
,
Microsoft has not release SSRS viewer for ASP.NET MVC yet.So,I think you could install
ReportViewerForMvc
.It use reportview control in your view.
More details,you could refer to below article:
https://www.c-sharpcorner.com/article/how-to-display-ssrs-report-in-asp-net-mvc-web-application/
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our
documentation
to enable e-mail notifications if you want to receive the related email notification for this thread.