Formatting Issues with Report Viewer 9.0 and IE 9
Environment · SQL SERVER 2008 (tried sp1, sp2, & sp3; seems to make no difference) · Report Viewer 10 (tried sp1 release as well; seems to make no difference. Asp.Net framework 4.0 sp1, C# Web application, being viewed in IE9 ------------------------------------------------------------------------------------------- We've had SQL Reports/Report Viewer in production for about 2 years in a commercial web app. As of IE9, the rendering of the report and handling of it within the report viewer changed drastically from our prior experience. I first noticed the rendering problems in the venerable Report Viewer 9.0.0.0 that we had been relying on. The major issue was a failure to respect the sizing of layouts, resulting in text wrapping and other undesired attempts by the renderer to display the report in a minimal shrunken space. I decided that this was most likely because the aging ReportViewer didn't support more recent browsers, and so upgraded to ReportViewer 10. This has fixed the original problem, but given me a whole new range of headaches. Things I've noticed so far: 1) Extra white space in the header or footer of the report of any amount is not rendered as a larger header or footer with more white space, but is instead rendered as a frame with scroll bars. I can partially this fix this by going back through the 40 or so reports and making sure that the header or footer never has more height than the largest control in it, but see #7. 2) Embedded images, that is they are defined within the .rdl and not linked to some external resource, are not generally not rendered in reports. In the one case where the image is rendered (why?), it is handled differently than in prior reports resulting in part of the image being trimmed away and a different placement relative to the text in the text box. 3) Report Viewer control/toolbar no longer expands to fit the enclosing html container (in this case a div), even when directed to use a width of 100%. 4) Report Viewer control resizes itself to the contents of the report, often shrinking to contain a report once asynchronous rendering finishes. This is particularly weird because not only do two different reports (say a 8.5"x10" and a 10"x8.5" landscaped report) differ in utilized screen real estate, but two different reports with the same properties (8.5"x10" page sizes) are displayed using a differing number of pixels. 5) The Report Viewer control seemingly randomly resizes itself when paginating through a report, growing or shrinking depending on the contents of the report. The changing size does not seem to in any way relate to the report definition of the page, as a report with repeating elements on separate pages does not maintain a constant size between any two elements, but rather to the data. This and many other problems seem to be related to rendering not respecting the size of report elements, and instead of wrapping the contents, expanding or contracting a table element to fit the contents. 6) The Report Viewer control no longer respects the page width and whole page options from the zoom drop down, and does not properly handle zoom at all especially when zooming 'in' (150% or 200%). 7) Even when the report header and report footer have no extra white space, scroll bars will appear and the report header and footer will be rendered too large when the report is paged through. 8) If a column of a table is sortable, occasionally vertical and horizontal scroll bars will appear in the column header. 9) Spurious non-functional scrollbar images/overlays occasionally appear appended to table cells within the table where the text has wrapped. Oddly, with the exception of the images being unrendered, these problems do not appear in Mozilla Firefox. Any help would be appreciated. Thanks, Lee
November 22nd, 2011 4:26pm

Hi worldlee78, Firstly, thanks for submitting so many feedbacks for our product. From the description, it seems like these issue happen when you using Report Viewer control in IE 9. In this condition, please understand that we consulting problems about SQL Server Reporting Services mainly in this forum. You can find more information about Report Builder 10 here: ReportViewer Controls (Visual Studio) In addition, we have one specify forum to resolve the problem about Report Viewer control, I would recommend you submit one new thread here: Visual Studio Report Controls Thanks for your understanding and feedbacks again. Best Regards, Sharp Wang TechNet Subscriber Support in forum If you have any feedback on our support, please contact us. Please remember to mark the replies as answers if they help you and unmark them if they provide no help.
Free Windows Admin Tool Kit Click here and download it now
November 23rd, 2011 8:58pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics