Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Page Header in Case of Dyanamic report Header Expand / Collapse
Author
Message
Posted Friday, May 8, 2009 8:47 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 9, 2009 5:34 AM
Points: 17, Visits: 51
I am moving my reports from access to SSRS. In access we have some text in "Report Header " which should appear only at first page. But Page header should not display on First page. In case of static Report Header, we can achive this functionality by setting the "Display On First Page" property of Page Header. But I have some reports in which visibilty of report header depends upon user preferences. In that case when User sets the Report Header Visibilty to false, Page Header is not displaying on first page (because of my setting). I can not control the setting of Page header by formula, like when reportheader will be hidden then page header should appear on first page.

How Can I achive this functionality
Post #713005
Posted Friday, May 8, 2009 11:58 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, August 19, 2013 8:47 AM
Points: 273, Visits: 441
I think I am following what you are looking for. Perhaps what you need is not something that turns on and off the headers but changes what appears there depending on the page / parameter what about something like:
Iif(Globals!PageNumber > 1, True, False)

in the "Hidden" field of the different items you have in your page header.
Post #713234
Posted Friday, May 8, 2009 9:18 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Sunday, August 9, 2009 5:34 AM
Points: 17, Visits: 51
Thanks for replying.
But using this, space taken by page header will not supress.
I have almost 1.5in long page header.
Is there any way to supress space too?
Post #713459
Posted Monday, May 11, 2009 8:46 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, August 19, 2013 8:47 AM
Points: 273, Visits: 441
When everything is hidden(going on memory here) it seemed that it collapsed. Perhaps there is a rectangle, or some other item taking up the space that is not hidden?
Post #714184
Posted Monday, July 27, 2009 8:42 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, July 13, 2010 6:06 AM
Points: 14, Visits: 30
I'm having the same problem, where the page header area doesn't suppress on subsequent pages. After the above comment, I tried to set all of the controls within the rectangle to have them be invisible when the page wasn't the first one. I still had that empty space on subsequent pages.

Please someone help us! :)

Thanks,
Amy
Post #760135
Posted Monday, July 27, 2009 12:07 PM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, July 13, 2010 6:06 AM
Points: 14, Visits: 30
I found some place that you need to set the report properity 'consumecontainerwhitespace' to true, but the rdlc report properties doesn't have that property listed. Does anyone have any ideas of what can be done to suppress white space?

Thanks,
Amy
Post #760277
Posted Monday, July 27, 2009 1:31 PM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, August 19, 2013 8:47 AM
Points: 273, Visits: 441
Amy, I have not run into this issue myself, however I have had some crazy things happen when using rdl files. My suggestion was based on what I could find on short notice, not an actual,tested,solution. I have, for all practicalities, no experience using rdlc files. I don't know what the differences would be.

So you have made all these changes, and still the whitespace. Is it the same size, smaller, larger? What happens when you leave something in there that is very small? What happens if you turn off the header completely? What about using the code that I provided up there but change it so something would show up on every page other than the first page, in essence creating your own 'report header' logic?
Post #760320
Posted Tuesday, July 28, 2009 6:21 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Tuesday, July 13, 2010 6:06 AM
Points: 14, Visits: 30
Hi Wesley,

Yes, I did use the logic for the hidden expression and that's why I have white space on the subsequent pages. I put that expression on every single control and that didn't seem to matter. The user interface is very different for the rdl and rdlc files. Microsoft and the books only document the rdl way, so you wind up tinkering with the interface and options to figure out how to create a rdlc report. Unfortunately you have to use a rdlc report if you want to create a web page that uses the report viewer.

Thanks,
Amy

PS. If I figure it out, I'll post the answer.
Post #760693
Posted Tuesday, July 28, 2009 8:40 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Monday, August 19, 2013 8:47 AM
Points: 273, Visits: 441
The more I think about this, the more familiar it seems. I have had to find workarounds for a few different things that seemed like they should have been part of the package, like paging.

Perhaps, if you get rid of the headers completely, then add your controls in with the logic to show one on the first page while hiding the other, and then for the rest of the document, hiding the first control while showing the others.
Post #760810
Posted Tuesday, July 28, 2009 9:30 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Thursday, January 14, 2010 9:09 AM
Points: 141, Visits: 187
Hi, vikas_yadav24.
In fact, you can try RAQ Report. It has a wonderful function for the setting of page header, page footer, and report title.


RAQ Report: Web-based Excel-like Java reporting tool
Post #760869
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse