Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: MVC SSRS
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 13-Jun-12 22:03pm
surya85173
Edited 14-Jun-12 4:47am
v2
Rate this: bad
good
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"
 
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.
  Permalink  
v3
Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 380
1 OriginalGriff 230
2 DamithSL 220
3 Zoltán Zörgő 150
4 Maciej Los 135
0 OriginalGriff 7,740
1 DamithSL 5,694
2 Sergey Alexandrovich Kryukov 5,404
3 Maciej Los 5,061
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 27 Jun 2012
Copyright © CodeProject, 1999-2014
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