Click here to Skip to main content
11,641,659 members (56,268 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: MVC SSRS

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 13-Jun-12 21:03pm
Edited 14-Jun-12 3:47am
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

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

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

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.

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

  Print Answers RSS
0 Mika Wendelius 290
1 DamithSL 223
2 Afzaal Ahmad Zeeshan 139
3 OriginalGriff 110
4 Suvendu Shekhar Giri 65
0 Mika Wendelius 460
1 OriginalGriff 215
2 DamithSL 213
3 CPallini 169
4 Afzaal Ahmad Zeeshan 129

Advertise | Privacy | Mobile
Web02 | 2.8.150731.1 | Last Updated 27 Jun 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100