Reputation: 6588
I'm trying to use ReportViewer (it must be ReportViewer!) with Asp.NET MVC. Is it possible?
Thanks!!!
Upvotes: 4
Views: 3640
Reputation: 145
You will want to put the report viewer on a Web Form. Check out the second section on this page.
http://www.packtpub.com/article/mixing-asp.net-webforms-and-asp.net-mvc
Upvotes: 0
Reputation: 65391
Report Viewer requires view state, and you do not have that in ASP.Net MVC.
There are two ways to do this.
Upvotes: 1
Reputation: 180788
Any control that does not use ViewState or require runat=server
can be used in ASP.NET MVC without problems.
The construction of ASP.NET MVC allows report writing in a view to be a relatively straightforward proposition.
Upvotes: 0