Keep Together Is Not Working Properly

2 posts, 0 answers
  1. Majar
    Majar avatar
    14 posts
    Member since:
    Nov 2018

    Posted 22 Jul 2019 Link to this post


    I am trying to generate reports with a group which contains a text box(title of the table) and a table. The 'GroupKeepTogether' property of the group is set to true and its contents' (text box and table) 'KeepTogether' property to false. When I try to generate the report, the second table is getting generated in the third page even though there's space in 2nd page(which has only two rows of the first table). Is there a way to force the report to utilize the free space of the all pages.

    Please refer the screenshot




  2. Todor
    Todor avatar
    407 posts

    Posted 25 Jul 2019 Link to this post

    Hello Majar,

    One possible reason for the second table (e.g. second group) to start on a new page is that there may be a PageBreak set to After/Before in the group.
    Additionally, if GroupKeepTogether is st to True, the Reporting engine will attempt to keep the entire group on the current page. If this is not possible, it will try to move the entire group to a new page. If the latter is not possible (e.g. the group needs more than one page), the group will be rendered starting from the current page.

    I suggest to check the group and the detail section PageBreak properties and assure they are set to None.
    Based on the available information I cannot say what is the exact reason for the described behavior. You may send us the report for investigation to try to clarify it.

    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
Back to Top