White Space Issue

9 posts, 0 answers
  1. Craig
    Craig avatar
    1 posts
    Member since:
    Jun 2010

    Posted 08 Jun 2010 Link to this post

    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,
  2. Peter
    Admin
    Peter avatar
    1661 posts

    Posted 10 Jun 2010 Link to this post

    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.
  3. Abdusalam
    Abdusalam avatar
    2 posts
    Member since:
    Mar 2012

    Posted 22 May 2014 in reply to Peter Link to this post

    Please can you clear how can I void this white space, because I have the same issue.
  4. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 27 May 2014 Link to this post

    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.

     
  5. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 19 Aug in reply to Stef Link to this post

    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!

     

  6. Silviya
    Admin
    Silviya avatar
    413 posts

    Posted 22 Aug Link to this post

    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
  7. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 31 Aug in reply to Silviya Link to this post

    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?

  8. Silviya
    Admin
    Silviya avatar
    413 posts

    Posted 02 Sep Link to this post

    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
  9. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 02 Sep in reply to Silviya Link to this post

    thank you, thank you!
Back to Top