ilich / MvcReportViewer

ASP.NET MVC Html Helpers for ReportViewer Control.
MIT License
280 stars 131 forks source link

HTML5 Issue #179

Open cr1x56 opened 8 years ago

cr1x56 commented 8 years ago

I was having an issue displaying reports in a new project that I created. I ran the same report in an older project with no issues using the MvcReportViewer. The report came up with parameters and actually when it ran had the page numbers increased to navigate but it was all blank. Not sure but I eventually solved it by setting the doctype from <!doctype html> to <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Only had this issue on Chrome browser as it worked well in Firefox and Internet Explorer

ivanpaniagua commented 7 years ago

I have the same problem at it was due to specific style overflow in the DOM object insider the report ReportViewer_ctl09, so you need remove this property. Remember that this DOM object is inside an Iframe so you need to use contentWindow.document in javascript and you need to wait to finish the rendering of report inside of MvcReportViewer.