This is a migrated thread and some comments may be shown as answers.

White Space Issue

8 Answers 494 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Craig
Top achievements
Rank 1
Craig asked on 08 Jun 2010, 11:23 PM
I'm currently looking for a reporting tool and I downloaded the trial version of Telerik Report. I'm currently trying to generate a report programmatically. I'm able to do everything needed so far but for some reason there is a large whitespace between my group header and detail section that I cannot seem to remove. I was hoping someone may have a sugestion.

Thanks,

8 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Jun 2010, 06:10 PM
Hi Craig,

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.
0
Abdusalam
Top achievements
Rank 1
answered on 22 May 2014, 11:16 AM
Please can you clear how can I void this white space, because I have the same issue.
0
Stef
Telerik team
answered on 27 May 2014, 10:37 AM
Hi Abdusalam,

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.

 
0
Colleen
Top achievements
Rank 1
answered on 19 Aug 2019, 06:13 PM

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!

 

0
Silviya
Telerik team
answered on 22 Aug 2019, 10:31 AM
Hi Colleen,

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
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 Feedback Portal and vote to affect the priority of the items
0
Colleen
Top achievements
Rank 1
answered on 31 Aug 2019, 03:26 PM

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?

0
Silviya
Telerik team
answered on 02 Sep 2019, 08:50 AM

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

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 Feedback Portal and vote to affect the priority of the items
0
Colleen
Top achievements
Rank 1
answered on 03 Sep 2019, 01:50 AM
thank you, thank you!
Tags
General Discussions
Asked by
Craig
Top achievements
Rank 1
Answers by
Peter
Telerik team
Abdusalam
Top achievements
Rank 1
Stef
Telerik team
Colleen
Top achievements
Rank 1
Silviya
Telerik team
Share this question
or