I would like to render an RDLC report in HTML within an ASP.NET MVC project.
I successfully made a prototype that renders an RDLC report in PDF, Excel, and TIFF image, with the help of this article. But I was surprised that HTML is not one of the default available formats in LocalReport.Render()
.
I came across this article, which describes a trick to enable the rendering format of HTML4.0, but I think that is only for a ReportViewer
control (I could be wrong though).
The question is, in MVC how to render an RDLC report in HTML just like a ReportView
does (see the screenshot below)?