Thanks,
8 Answers, 1 is accepted
We've already answered your inquiry in the support system you've opened. Please avoid opening multiple threads on the same subject as this only slows us down.
For the forum readers the gap was due the Group Header section and the Table's Header.
The easiest way to identify white space issues is by applying a more contrasting BackGroundColor to the respective sections.
Regards,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Please refer to my reply in your forum thread on the same question: White Space in Telerik report in WPF.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
I seem to have a white space problem not fixed by the above suggestions. I did go thru and change the color of each report section to no avail. the gap appears just above the page footer and is wider on page 1 than the following pages. (see pics of design (groupfootersection1 is set to NOT visible)
On as separate issue if you could offer knowledge I would be great, in the footer, I am trying to create a running record count on each page to state "1st record on this page" - "last record on this page" of "total record count". The Total Record count has been my only successful result.
Thank you!
The gap is produced due to the fact that the group footer section is printed at the end of each group of records and right after the detail section. The page footer section is printed at the end of every page. On different pages, you have different height of the detail section, so there is a gap where the height is smaller.
As for the second requirement, please, try using the PageExec(itemName, aggregateFunction) page scope related function which executes the specified aggregate function in the given scope. As the name suggests, it can be used in page header or page footer of the report. In order to specify the scope in which the aggregate would be evaluated, you need to specify a report item as a parameter of the function.
For example, you can specify the TextBox item which contains the name of the first record as the itemName and the First(Fields.TestColumn) aggregate function. The same applies for the last record. I attached a sample report to demonstrate the scenario. It uses AdventureWorks test database to retrieve a sample data.
For more information on the PageExec function, please refer to the Data Functions help article.
Best Regards,
Silviya
Progress Telerik
Thank you
Thank you for the reply. While I understand the logic regarding the gaps, why are they white? the page properties have the background set to the same gray as other sections of the report. So shouldn't any empty space show as set in the properties?
Hi Colleen,
The background of the report item will be set to the end of the content, it is not applied for the whole physical page. If you want to set the same grey color for the gap, I can suggest setting PageSettings.BackgroundColor Property instead.
Best Regards,
Silviya
Progress Telerik