Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 13, 2010 08:44 PM by Ben Aminnia
Apr 13, 2010 05:24 PM|LINK
I have an rdlc reports which renders fine within our asp.net 3.5 site. However, when I use use its built-in export to PDF feature, the resulting PDF file has three blank pages after each page of data. So my my 5 page report turns into 20 pages in PDF.
What am I missing?
rdlc (Report) export to pdf
Apr 13, 2010 05:30 PM|LINK
Look at the propeties of the elements in your report. Make sure you do not have any boxes checked that says Page Break etc...
Apr 13, 2010 06:20 PM|LINK
Thanks for the helpful hint. However, it only solved half of the problem! Now that I have removed all references to pagebreak from rdlc, the PDF result still has one blank page after each page of data. So my 5 page report now shows as 10 pages in the
Apr 13, 2010 07:22 PM|LINK
Are you using tables?
Make sure you check each option:
see if any of thos are causing it.
Apr 13, 2010 07:51 PM|LINK
None of those helped; I'm still getting one blank page after each page of data.
Apr 13, 2010 07:59 PM|LINK
Are your margins not setup correctly? If you exceed even just a little it will kick out blank pages.
Apr 13, 2010 08:44 PM|LINK
Yes, margin setting was the issue and it's OK now. Thanks.