Solved

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

Posted on 2015-01-06
3
1,876 Views
Last Modified: 2015-01-09
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
Comment
Question by:sbornstein2
  • 2
3 Comments
 
LVL 96

Accepted Solution

by:
Bob Learned earned 500 total points
ID: 40536072
I have just started looking into the MvcReportViewer helper.

MvcReportViewer HTML Helper
https://github.com/ilich/MvcReportViewer
0
 

Author Closing Comment

by:sbornstein2
ID: 40540301
Thanks Bob awesome
0
 

Author Comment

by:sbornstein2
ID: 40540306
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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now