Last post Apr 13, 2010 09:44 PM by Ben Aminnia
Apr 13, 2010 06:24 PM|Ben Aminnia|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 06:30 PM|N_EvilScott|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 07:20 PM|Ben Aminnia|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 08:22 PM|N_EvilScott|LINK
Are you using tables?
Make sure you check each option:
see if any of thos are causing it.
Apr 13, 2010 08:51 PM|Ben Aminnia|LINK
None of those helped; I'm still getting one blank page after each page of data.
Apr 13, 2010 08:59 PM|N_EvilScott|LINK
Are your margins not setup correctly? If you exceed even just a little it will kick out blank pages.
Apr 13, 2010 09:44 PM|Ben Aminnia|LINK
Yes, margin setting was the issue and it's OK now. Thanks.