Empty pages in RDLC-Report

前端 未结 18 1014
清酒与你
清酒与你 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:41

    You need set report width property to actual print page width. In my case 6 inches helped.

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

    You need to make sure your RDLC Report have :

    1. ConsumeContainerWhiteSpace = true (open by click F4)
    2. Report Body Size <= Page Size+margin Size. (open by Ctrl + Alt + D)
    0 讨论(0)
  • 2021-02-01 01:43

    Page Footer may cause the problem too. So if you have one, it's better to place it as near as possible to the main content. In this case you don't need to set the Body.Height property.

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

    I had a similar problem, I solved it this way

    For instance for width, the following equation should be satisfied

    PageSize >= LeftMargin +  BodySize + RightMargin 
    

    where to find BodySize?

    Press F4 -> CLick somewhere inside the report -> you will find body property(look at size property, take the width value)

    Where to find report PageSize?

    click somewhere outside the report -> you will find report property ( look at PageSize (take its width value), and margins (Left, right, ..), take left and right margin values)

    take values from these properties, and check if they meet

    PageSize >= LeftMargin +  BodySize + RightMargin 
    
    0 讨论(0)
  • 2021-02-01 01:49

    I was having the same issue until I played with the report body's height and width. :)

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

    I was working with an RDLC report that was printing an extra blank page. I tried all the usual tricks, and everything I could think of, until I realized the problem was caused by an extra amount of visible whitespace in the right margin area of the report. One of the objects in the report (a "Rectangle") was a single pixel or two too wide, and this prevented resizing the visible space of the report. Once I removed all the extra width, the report started printing with the expected number of pages.

    Visual Studio 2017 (15.7.5) + Microsoft Rdlc Report Designer extension (v14.2)

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