Page Header, PrintOnFirstPage=False, HTML render fine, PDF export leaves extra space
As it says in the header.Setup:SSRS 2008, VS 2008 SP1Local Mode, rdlc fileDesign:Make a 1/2" Page header with a text box in it. Set PrintOnFirstPage=FalseBody contains a Table that spans multiple "hard" pages.Results:Renders to HTML in the report viewer just fine.PDF export leaves blank 1/2" at the top of page 1. With no header for page 1, I had hoped it would remove the extra space the same as in the report viewer.Question:Any way to tell SSRS not to leave space when page header is turned off for the first page?Attempts:Tried putting everything in a rectange in the header and set the visibility to false. Still leaves space.
October 31st, 2009 12:39am

Have you thought about putting it in Table Header instead? You could control the visibility wether to show or not to show with setting the hidden visibility property to, by checking the Globals!PageNumber = 1, then set it to True. I think this will not leave any white space on the top. Give it a try and let us know. hth.Chicagoan ...
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2009 12:46am

Thanks for the super quick reply.I assume you mean to add a Table to the top of the body, delete the table detail and table footer parts, throw in a rectangle into the header, and put my textbox(es) in the rectangle?All that works fine but I cannot use any Globals in the Body of a report to control its visibility. Conversely,neither can I use a Table in a Header or Footer.
October 31st, 2009 1:01am

I did not have this problem in SQL Server 2008 - but after a recent upgrade to SQL Server 2008 R2, about 150 reports are affected. Does anyone know if there has been acknowledgement of the issue in 2008 R2 since it did not exist in 2008? Any bug fixes or workarounds in the works? Thanks!
Free Windows Admin Tool Kit Click here and download it now
August 28th, 2010 1:56am

Same problem here with R2. "Proposed As Answer" by mistake, sorry.Alexander Yaremchuk
January 22nd, 2011 7:14pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics