Empty pages in RDLC-Report

前端 未结 18 1016
清酒与你
清酒与你 2021-02-01 01:11

I have a rdlc report that conains a tablix, nothing other. The Tablix expands in horizontal direction to show days and in the vertical direction to show groups.

The tabl

相关标签:
18条回答
  • 2021-02-01 01:50

    I thought this important enough to put here, especially since every day more of the critical information we need to do our jobs keeps disappearing:

    From response to The "Every Other Page Is Blank" Feature

    Many Reporting Services users ask this question:

    "I'm rendering to a physical page format (PDF, Image, Print) and for some reason a blank page gets inserted between all of the other pages in the report. Thank you, Reporting Services, for the free pages. It's a charming feature, but paper ain't free and I'm getting paper cuts pulling out every other blank page after it's printed. How do I make it stop?!"

    To which I reply:

    This is almost always caused by the Body of your report being too wide for your page. Make sure that the Width of the Body is less than the physical page size, less the margins. For those of you who are into the math thing, make sure that:

    Body Width <= Page Width - (Left Margin + Right Margin)

    For physical page renderers, it's important to keep in mind the concept of Usable Area. The Usable Area is the amount of space left on a page for your report to be drawn after reserving space for margins, headers and footers, and column spacing (for multi-column reports).

    Horizontal usable area:

    X = Page.Width - (Left Margin + Right Margin + Column Spacing)

    Vertical usable area:

    Y = Page.Height - (Top Margin + Bottom Margin + Header Height + Footer Height)

    Any time objects on your report (including the Body itself) extend past the usable area either because they are defined like that or because they grow at runtime, the physical page renderers have no choice but to break onto a new page.

    0 讨论(0)
  • 2021-02-01 01:56

    Or you can just graphically resize your report design, to the exact bottom of the last report control or label.

    Or add a footer section to create some space.

    0 讨论(0)
  • 2021-02-01 01:57

    Please select "Report" in the object selector at the top of the window. and make the ConsumeContainerWhiteSpace = true if the also same problem persist then, your rdlc report size should be less than your report body.!

    0 讨论(0)
  • 2021-02-01 01:58

    I have meet this problem recently.

    The root cause may be:
    your report's body has some blank upside report Footer or somewhere else.
    The solution is :
    1, click the report body
    2, go to the property window, you will see the body size property
    3, check the body size, you may find a strange number like 9.6654in,1.5625in.
    that means you have some blank upside the Footer, modify the height or width size till there is no blank you can see.

    0 讨论(0)
  • 2021-02-01 01:59

    the solution is simple ConsumeContainerWhiteSpace=True (you find this in the property window for "report") you set the paper size in the main menu/ report/report properties for example to "A4" and then you check that paper size is larger then body + header + footer + margins.

    0 讨论(0)
  • 2021-02-01 01:59

    Try this one,

    Just make sure that all Data the needed is in the report, Then Select the Table or the Matrix and make it squeeze to the left and if needed to the Top Left Corner until your white Page Problem is Done.

    But make sure that the cells are squeezed in the right manner, Be gentle (I hope you got it !!)

    Ok, Bye

    0 讨论(0)
提交回复
热议问题