ReportViewer Questions

ID #1017

Why doesn't my multi column report work right in the ReportViewer control in an web page or WinForm control?


So you have just created a multi-column report and when you preview the report in the ReportViewer control, you only get one column and extra pages. However when you print the report or export the report, the columns are displayed correctly.

This is a "feature" of reporting services and there is not much you can do. Incidentally, the ReportPax label templates do not use the multi columns property so they do not have this issue.

As far as an explanation goes, I'd say it mainly has to do with the fact that the reports are rendered as html when using the ReportViewer control. Emulating static widths and heights for printing in html would be difficult, so I guess they didn't bother. Reporting Services documentation calls the ReportViewer control a "soft page-break renderer".

Hidden in the documentation, it actually states that muli-column reports are not supported using the ReportViewer control, unless printing or exporting to PDF (at least that is my interpretation and backed up by its behavior):

"Columns are only applied when you render and print reports in PDF or Image formats."

Understanding Pagination in Reporting Services

Last update: 2008-06-10 21:35
Author: ReportPax Support
Revision: 1.1

Print this record Print this record
Send to a friend Send to a friend
Show this as PDF file Show this as PDF file
Export as XML-File Export as XML-File

Please rate this entry:

Average rating: 5 out of 5 (1 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry