Can I use ReportViewer with ASP.NET MVC?

I am trying to use ReportViewer (it should be ReportViewer!) With Asp.NET MVC. Is it possible?

Thanks!!!

+3
source share
4 answers

You can use the web form to do this or use the SOAP functions

+1
source

Report Viewer requires view state, and you do not have this in ASP.Net MVC.

There are two ways to do this.

  • You have one page on your site, which is a regular web page, and use it to display the report viewer.
  • MVC asp.net , Http ( PDF).
+1

Any control that does not use ViewState or requires runat=servercan be used without problems in ASP.NET MVC.

The ASP.NET MVC construct allows you to write a report in a relatively simple sentence view.

0
source

You want to place the report viewer in a web form. See the second section on this page.

http://www.packtpub.com/article/mixing-asp.net-webforms-and-asp.net-mvc

0
source

Source: https://habr.com/ru/post/1722725/


All Articles