asp.net mvc 3 - HTML5 and iFrame replacement for ReportServer -


Our client has a bunch of reports written in SQL Reporting Server and we have to display them in our MVC application.

However, we know that HTML5 no longer supports the use of IFrame, so we need to look for any other way.

I have not achieved any success in the following.

  & lt; Div id = "rptViewer" style = "width: 800px; height: 800px;" & Gt; & Lt; / Div & gt; $ (Function () {$ ("# rptViewer"). Load ("URL / ReportViewer.aspx? / New Daily Report / Daily Report and Date = 2012-05-30 & amp; R: - Format = HTML4.0", Function (response, position, xhr) {if (condition == "error") {var msg = "Sorry, but there was an error:"; Warning (msg + xhr.status + "" + xhr.statusText);} });});   

Edit

This also does not work;

  $ .get ("URL / ReportViewer ASPX?" / New Deliverport / Daily Report and Date = 2012-05-30 and RS: Format = HTML 4.0 ", Function (Response) {Alerts ( 8); $ ('# rpt weaver'). Html (response););  

HTML5 support iframes added some interesting features like "sandbox" and "srcdoc" I went.



Comments