Click here to Skip to main content
15,041,025 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
See more:
HI All,

My problem is that I am working on RDLC report in Visual Studio 2010.

Everything is working fine except report is showing a blank extra page at the end of report in report viewer..

Can anybody guide why??? and how to overcome this??



Regards,.
Posted
Updated 10-Jan-18 22:39pm
v2

Solved Myself by putting Report's Property
C#
ConsumeContainerWhiteSpace = true
...


:)
   
v2
Comments
khaledDix 18-Oct-13 15:06pm
   
thank you so much i was tired to fix this problem
VICK 21-Oct-13 0:20am
   
Glad to help you...well if this post helps you than upvote it.. :)
bahgat 9-Dec-13 19:35pm
   
yes yes yes VICK
this is the solution
change Report's Property 'ConsumeContainerWhiteSpace' = true


thank you thank you thank you thank you , you save my day
VICK 10-Dec-13 0:26am
   
Happy to see you helped..:)
Ken LeBlanc 2-Oct-14 13:30pm
   
You rock! Thanks!
VICK 14-Oct-14 3:31am
   
Happy to see ur problem resolved. :)
jeproxsikat99 18-Apr-18 2:51am
   
This Solved my problem! Thank you for sharing.
Member 14689718 28-Apr-20 21:12pm
   
Thank u very much:)
Mike Brady 15-Feb-21 11:22am
   
See how to set this property in the Stack Overflow answer:
https://stackoverflow.com/a/9367399/109449

"Just click on the report surface and hit F4 to bring up the properties window, and then select "Report" in the object selector at the top of the window. You should then see the ConsumeContanierWhitespace property."
Solution 1:
Make Report Property ConsumeContainerWhiteSpace=True.

Solution 2:
Make Sure Your Report Body Must be Small than The report size.

The Calculation is simple just like,

Report Body Size<=Page Size+margin Size.


Example: Your Report Body size 8.25 INch.
Your Page Size is 8.27 Inch.(for portrait)
so the equation is 8.25<8.27 where all the margins Are 0.
   
v3
It means the width of the body of the report is larger than normal.
If it is portrait, then the width should not be above 6.5in
   
Comments
Richard Deeming 12-Oct-17 12:43pm
   
This question was asked FOUR YEARS AGO. The second accepted solution was posted THREE YEARS AGO.

And your "solution" is to repeat what was said in solution #4.

Stick to answering recent questions, and don't copy other people's answers.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900