MVC 4 - the view "WebForm1.aspx" should be derived from ViewPage, ViewPage <TModel>, ViewUserControl or ViewUserControl <TModel>
I am working with an rdlc report (ASP.Net MVC 4 with VS2012). Since the view cannot handle the report viewer, I put the report viewer in the user management file, the .aspx file. Unfortunately, when I render for viewing (WebForm1.aspx), it creates an error: The view in "WebForm1.aspx" must be displayed from ViewPage, ViewPage, ViewUserControl or ViewUserControl.
I searched for a solution over the network, but still have not found a solution. Do you have any ideas?
+5