1

Is it possible to display ReportViewer (RDLC) in a .cshtml view using C# on .NET v5 or v6? Many thanks.

I want to display it as aspx (ReportViewer component).

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
tieudoan208
  • 21
  • 1
  • 5
  • Unlikely. Are there any reasons you cannot use .NET Framework? – HardcoreGamer Nov 22 '21 at 09:06
  • oh in .Net framwork, i can view used aspx page, but when convert to Netcore. aspx not use ? – tieudoan208 Nov 24 '21 at 02:26
  • Web RDLC, for now, only officially supported on .NET Framework. ,NET Core / .NET 5 version's RDLC are third parties and have a lot of issues. – HardcoreGamer Nov 24 '21 at 14:32
  • yes. i am using third party but it only export pdf to view , do not viewer on cshtml. – tieudoan208 Nov 25 '21 at 19:30
  • You can't use ReportViewer without .aspx page. If you must, you can use `iframe` in your cshtml page and set the `src` link to your report hosted elsewhere. – HardcoreGamer Nov 26 '21 at 02:11
  • I dont know why crytal do not support on NetCore Not yet ? – tieudoan208 Nov 27 '21 at 03:48
  • I don't know neither. I would guess that .NET Core / .NET 5 are not mature enough for them to invest resources to develop a updated version. You can see [here](https://dotnet.microsoft.com/platform/support/policy/dotnet-core), the LTS for these .NET version may not worth the efforts. While .NET Framework, as of now, has no [end date](https://learn.microsoft.com/en-us/lifecycle/products/microsoft-net-framework). – HardcoreGamer Nov 27 '21 at 11:49
  • Net 4.8 will be end date after 3 year. i think Netcore base on other teach so they dont invest resources to dev it... My project converted netcore but report process different direction. – tieudoan208 Dec 01 '21 at 02:06

0 Answers0