Is there any way to show RDLC Local ReportViewer control in asp.net core webpage?
To show a ReportViewer, on a traditional WebForms application, the below code works.
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<div style="height: 600px;">
<rsweb:ReportViewer ID="reportViewer" runat="server" Width="100%" Height="100%"></rsweb:ReportViewer>
</div>
</form>
</body>
I have already tried and tested the below components. The results are given below.
Q1. What is the best approach to use <rsweb:ReportViewer>
in asp.net core application?
Next, Add an AddMvc method to the ConfigureServices method that allows you to use ASP.NET Core MVC. Next, Add Controllers folder, then create a Report controller Opening your ReportController, then add a Print action that allows you to render RDLC report in ASP.NET Core.
The ASP.NET Core Report Viewer requires a Web API service to process the RDL, RDLC, and SSRS report files. Right-click the project and select Add > New Item from the context menu.
Next, Right-click on your project, then select Manage Nuget Packages => Search and Install 'AspNetCore.Reporting' into your project. This library supports LocalReport, ServerReport, SSRS, ReportViewer in ASP.NET Core. Next, You can create an ASP.NET MVC project or Windows Forms Application project to help you design the local report.
About report viewer for asp.net core , you could try to use Stimulsoft Reports.Web reporting tool. This repository contains the source code of the examples of usage Stimulsoft Reports.Web reporting tool in the ASP.NET Core applications, using C# code and HTML5/Flash components.
Microsoft is not implementing or bringing RDLC report viewer into aspnet core. Instead they are purchasing a product to fill the void.
Full link to news - https://blogs.msdn.microsoft.com/sqlrsteamblog/2018/04/02/microsoft-acquires-report-rendering-technology-from-forerunner-software/
Link to original issue - https://github.com/aspnet/Home/issues/1528
Here is the essence. "Microsoft acquires report rendering technology from Forerunner Software
We’re pleased to announce that we’ve acquired technology from Forerunner Software to accelerate our investments in Reporting Services. This technology includes, among other things, client-side rendering of Reporting Services (*.rdl) reports, responsive UI widgets for viewing reports, and a JavaScript SDK for integrating reports into other apps – a testament to what our partners can achieve building on our open platform.
This is great news for you, as we see opportunities to apply this technology to multiple points of feedback we’ve heard from you:
You’re looking for cloud Software-as-a-Service (SaaS) or Platform-as-a-Service (PaaS) that can run SSRS reports. As you might’ve seen in our Spring ’18 Release Notes, we’re actively working on bringing SSRS reports to the Power BI cloud service, and we’re building on client-side rendering to make that possible. You want to view SSRS reports on your phone, perhaps using the Power BI app. We believe this technology will help us deliver better, more responsive UI for supplying report parameter values, navigating within reports, and possibly even viewing report content.
You love the Report Viewer control… but it’s an ASP.NET Web Forms control. You need something you can integrate into your ASP.NET Core/MVC app or non-ASP.NET app. With this technology, we hope to deliver a client-side/JavaScript-based Report Viewer you can integrate into any modern app.
These are large undertakings and we don’t yet have timeframes to share, but stay tuned over the coming months as we always strive to share our progress with you and hear your feedback as early and often as we can.
Forerunner Software will continue to support existing customers for a limited period of time."
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With