Click here to Skip to main content
16,007,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,


I am able to display the SSRS reports in ReportViewer control in the MVC page. but when i change the parameters and click on View Report button on Report Viewer control the parameteres are setting to its default values.


can anyone please help me how to make ReportViewer control working fine in MVC page.

Thanks is Advance.
Posted
Updated 14-Jun-12 3:47am
v2

You can't. Quoting from an ASP.Net forum post:

"The ReportViewer component is not intended to be used with ASP.NET MVC"

http://forums.asp.net/t/1802811.aspx/1[^]

You're not the first person to run into this problem. The best advice out there is to add a normal aspx page to the project for the report viewer. You will have to add an ignore route to the application routing.

If you have large amounts of MVC page infrastructure you can add an iframe to an MVC page to host the aspx page with the report viewer.
 
Share this answer
 
v3
i am not knowing exactly but i have seen one solution in which they had made some settings for SSRS report viewer control (server report) to solve the same.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900