Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42370

VB.NET ReportViewer print preview shows blank pages

$
0
0
Hi All,

I developed my app using VS 2012.

I designed my report using the Report Viewer control. The data on my report is not tabular. It is a fixed-field form that spans several pages. I set the data source to a collection of an object that I developed and all the data for the report comes from my collection (which will always only have one item in it).

The report seems to be working fine, I setup a header and footer. When my code refreshes the report, my data is displayed nicely on the report as i designed it. However, when I convert to Print view, the report seems to be inserting page breaks while rendering. my nice little 4-page form becomes a 10 page report with page breaks occurring on every other page and some extra at the end.

What can I look at to determine why these extra page breaks occur in the rendering process? I thought it may be page layout related, so I changed the margins to all zeros but still see the additional page breaks. How do I debug this issue? Can I control Pagebreaking in report viewer?

Also, another thing I noticed is that when I added the footer, the footer height is about 2.5 inches and the designer will not allow me to change it.

Any help will be greatly appreciated.

Thanks,

Viewing all articles
Browse latest Browse all 42370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>