1
I need to call a Webform from an Action on controller, I read a lot on the internet but I couldn’t make it work.
I followed the example at that link, where you ask to exchange your Webform inheritance System.Web.Mvc.ViewPage
, if I do not change the error stating that the inheritance should be System.Web.Mvc.ViewPage
, if I change the error below.
I changed the Webform by an ASP.NET MVC4 (ASPX) page and it worked, the problem now is that when I try to pass the parameters it gives the following error: The viewer control object is in read-only mode
– Alan Almeida
Why you have to necessarily use a Web Form with MVC?
– Leonel Sanches da Silva
I need to render reports that are on a server Reporting Services, and I did not find anything in MVC for this, in Webforms has the report Viewer, worked right, I just need to be able to call this page of my action.
– Alan Almeida
You can call a report from the Report Builder by Controller MVC.
– Leonel Sanches da Silva