• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2399
  • Last Modified:

MVC Using an iFrame in partial view to load a SSRS Report URL?

Hey guys,

I have seen multiple examples on rendering reports mostly RDLC files within an MVC application with a ReportViewer.aspx etc.    All I want to do is something as simple as possible.   I have URL's to the SSRS reports where the parameters are at the top of the report.   I have no need currently to pass parameters to these reports all I want to do is somehow have a menu with 5 reports and somehow use a partial view to open that URL in an iFrame where the user can select the parameters and run the reports.   Is there a way to handle this easily and dynamically change the iframe URL passing it into a Model as string for example then have it render the report?
0
sbornstein2
Asked:
sbornstein2
  • 2
1 Solution
 
Bob LearnedCommented:
I have just started looking into the MvcReportViewer helper.

MvcReportViewer HTML Helper
https://github.com/ilich/MvcReportViewer
0
 
sbornstein2Author Commented:
Thanks Bob awesome
0
 
sbornstein2Author Commented:
By the way I ended up building my own instead of all the overhead etc. nuget package, DLL.   It's quite simple creating just the ASPX page with the report viewer on it and view for these.  I am using links now to just call an action to open the view and aspx page.   Similar setup to the MvcReportViewer but no DLL's etc.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now