Solved

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

Posted on 2015-01-06
3
1,959 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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