954,510 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

ReportViewer is printing an empty page

I have a reportviewer that prints a second empty page with the header only nothing in the body.
I have searched for this issue and I learned that the Width of the report body should be equal to the page width minus the right and left Margins.
So I have set the page margins to 0 and shrunk the page width considerably and I still get a last empty page.
What else can I do to eliminate that empty page.
Thank you

VIPER5646
Junior Poster in Training
84 posts since Mar 2009
Reputation Points: 10
Solved Threads: 2
 

is reportviewer displaying report properly ?
if it is, u cant use the easy way.

CrystalReportViewer1.PrintReport()
bilal_fazlani
Junior Poster in Training
55 posts since Oct 2011
Reputation Points: 10
Solved Threads: 3
 

Thanks Bilal for your Reply.
Yes it is displaying the report properly.
I'm using reportviewer not CrystalReportViewer I do not have the printreport() option.
Anyways I'm exporting the reports to a PDF.
When I click printlayout or export it I do get the second page with the header only.

VIPER5646
Junior Poster in Training
84 posts since Mar 2009
Reputation Points: 10
Solved Threads: 2
 

it would be easy to help if u post your code.

bilal_fazlani
Junior Poster in Training
55 posts since Oct 2011
Reputation Points: 10
Solved Threads: 3
 

Thanks Bilal for trying
But I recreated a new RDLC and I get it right this time.

VIPER5646
Junior Poster in Training
84 posts since Mar 2009
Reputation Points: 10
Solved Threads: 2
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: