Make section fill page

21 posts, 0 answers
  1. David
    David avatar
    1 posts
    Member since:
    Feb 2014

    Posted 05 Jun 2014 Link to this post

    Hello

    I am trying to create an Invoice with columns for quantity, price and amount. It should also have a summary at the bottom of the page. The columns should have a border and stretch all the way down to the summary (see attached picture). Is there any way to say that a section should fill out the remaining space of a page?
    So far I solved this by summarize the height of each section and calculate the remaining space on the page and setting the result to the height of a group footer (see the green area on the report). But this solution does not work when a textbox can grow since there seems to be no way to get the rendered height of a textbox.
  2. Nasko
    Admin
    Nasko avatar
    944 posts

    Posted 10 Jun 2014 Link to this post

    Hello David,

    Report sections do not stretch to the bottom of the page i.e., if there are only a few records of data, the detail section would not border with the page footer. Currently there is no way to achieve continuous section to the bottom of the page, except for the approach that you described.

    Regards,
    Nasko
    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.

     
  3. Silvia
    Silvia avatar
    1 posts
    Member since:
    Sep 2014

    Posted 26 Jan 2016 in reply to Nasko Link to this post

    With the new releases of Telerik reporting, has this problem been solved.  If so, how?
    I need to create an invoice report and regardless of number of rows in the details section I need the border to stretch to the footer section.

  4. Nasko
    Admin
    Nasko avatar
    944 posts

    Posted 26 Jan 2016 Link to this post

    Hello Silvia,

    With the latest version of Telerik Reporting, you can position a group footer at the bottom of the page using the  PrintAtBottom property. However, the previous section will not stretch to take the space which is left between the section and the footer.

    Regards,
    Nasko
    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
  5. Paola
    Paola avatar
    12 posts
    Member since:
    Mar 2015

    Posted 02 Feb 2016 in reply to Nasko Link to this post

    I found this topic while searching the forum because my company have the same requirment.

    Now that I know it's not possible I'm very concerned because I need  this kind of layout too.
    I think this is a serious limitation for a professional reporting solution because this kind of layout is very common for invoice and other business documents.

    Please suggest a workaround or think about implementig this feature very soon.

    Thank you.

  6. Nasko
    Admin
    Nasko avatar
    944 posts

    Posted 04 Feb 2016 Link to this post

    Hello Paola,

    You can post a request for this feature in our Ideas & Feedback portal. Depending on the customer demand (number of votes) we will adjust the feature's priority accordingly.

    Regards,
    Nasko
    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. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 30 Jun Link to this post

    Hello,

    I also need same Invoice Layout. I am using Telerik reporting 2015.

    I want to display group footer section at the bottom for that I make PrintAtBottom = True and It display properly but report contains space between group detail section and group footer section.

    I don't want that space but I want detail section border continue down to group footer section.

    In detail section I am using Subreport.

    Please give me any solution.

  8. Katia
    Admin
    Katia avatar
    605 posts

    Posted 30 Jun Link to this post

    Hello Bhavika,

    Such feature is still not supported. A request for this feature has been submitted in our feedback portal - check out this post. I can suggest you to vote for it as the features are selected for development based on the demand from our community.

    In the meantime, you can use the custom image imitating the vertical lines in BackgroundImage property of the Detail section or PageSetting.BackgroundImage property of the Report.


    Regards,
    Katia
    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. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 30 Jun Link to this post

    Hello Katia,

    Thank you for your suggestion.

    Now problem is my data is displaying dynamically, so how can I set height of custom image?

  10. Stef
    Admin
    Stef avatar
    3611 posts

    Posted 03 Jul Link to this post

    Hi Bhavika,
    Please test setting the viewer's ViewMode to PrintPreview and the report's PageSettings.BorderStyle to Solid. you can also use an image for the report's PageSettings.BackgroundImage.
    When the viewer's displays the report, you will be able to see the applied styles.

    Regards,
    Stef
    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
  11. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 05 Jul in reply to Stef Link to this post

    Hi Stef,

    I checked setting for ViewMode and it's PrintPreview and I applied PageSettings.BorderStyle to Solid. but it's not working.

    Let me explain situation.

    I have Master report, it contains subreport.

    Subreport has multiple data which comes according to filtering.

    e.g. Product 1 and it's details, Product 2 and it's detail etc.

    Master report contains unique data. e.g. Customer name,Page number,Logo,Summary of Total Product Amount etc.

    How can I apply border of sub report continue down to Summary of Total Amount which is display at the bottom of the page.

    And It also contains more than one page.

     

         

  12. Stef
    Admin
    Stef avatar
    3611 posts

    Posted 05 Jul Link to this post

    Hello Bhavika,

    You need to use the PageSettings properties of the master report, as the sub report's PageSettings are ignored when the sub report is loaded as a content of the master report.

    It depends on the reports' layout designed, but you can test the following:
    1. Add a GroupFooterSection or ReportFooterSection with PrintAtBottom=true in the sub report;
    2. In the master report set the SubReport item's Style.BorderStyle to solid and check if you get the desired result where the content of the sub report gets to the bottom of the physical page.

    In order to provide you more accurate suggestions, we will need the code generating the master and sub reports, and test data allowing is to test them locally.

    Regards,
    Stef
    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
  13. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 05 Jul in reply to Stef Link to this post

    Hi Stef,

    Thank you for suggestion.

    I already did that but it doesn't look my expected output.

  14. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 05 Jul in reply to Stef Link to this post

    Hi Stef,

    Here I have attached Images with problems.

    Please give me any Idea regarding this.

  15. Stef
    Admin
    Stef avatar
    3611 posts

    Posted 06 Jul Link to this post

    Hello Bhavika,

    Please check the settings of the main and sub reports in the attachment. We use the bottom border of the last section of the main report, and a GroupFootersection of the sub report that is always printed at the bottom. You can style sections and text to make them look hidden, if needed.


    In order to provide you more accurate suggestions, we will need a demo report with your settings to test them locally.

    Regards,
    Stef
    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
  16. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 06 Jul in reply to Stef Link to this post

    Hi Stef,

    Thank you for helping me.

    Now I am able to display Bottom border on every page.

    But still I am not able to display Vertical Line.

    I have attached Images,Please can you give me solution.

    Thanks & Regards,

    Bhavika

  17. Stef
    Admin
    Stef avatar
    3611 posts

    Posted 07 Jul Link to this post

    Hi Bhavika,

    Please double-check the provided demo project and the structure of the sub report in the Report Explorer. The sub report has a section with set PrintAtBottom=True. This causes the last page with  sub report's content to expand to the bottom of the main report's page.

    In order to provide you more accurate suggestions, we will need the designed reports in order to check their settings and to test them locally.

    Regards,
    Stef
    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
  18. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 07 Jul in reply to Stef Link to this post

    Hi Stef,

    Yes, I have a reportFooterSection for SubReport which printed at the Bottom of page. For that I make ReportFooterSection property

    PrintAtBottom = True, which works perfectly fine.

    I have GroupFooterSection before the ReportFooterSection in SubReport which has Unique data and display only one time.

    That GroupFooterSection has Vertical Line which I want to printed all the way to the Bottom of Report I mean to the ReportFooterSection.

    I have detailSection before the GroupFooterSection which also contain Vertical Line, I want that Line should continue down to the page. You can check that in First Page.png Image which I posted yesterday.

    That detailSection contains multiple products data.

    These are all regarding SubReport.

    I checked your demo project and I did same but it's not working for me.

    Please give me advice.

    Thanks & Regards,

    Bhavika

     

  19. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 07 Jul in reply to Bhavika Link to this post

    Hi Stef,

    For that Vertical Line, I have set BroderStyle - Left = solid for Textbox.

  20. Stef
    Admin
    Stef avatar
    3611 posts

    Posted 10 Jul Link to this post

    Hello Bhavika,

    When a section is printed at the bottom of a page, the space between the last Detail section and the printed at the bottom section is empty. You can use the main report's PageSettings properties like borders and background image, and a background for sections and items.

    If the GroupFooterSection in the sub report has its PrintAtBottom set to true, the section will be printed at the bottom of each page in the main report, which will extend the borders of the SubReport item that loads the sub report. Please test setting the SubReport item's borders.


    In order to provide you more accurate suggestions based on the designed layout, please post test data in CSV format for both main and sub reports, and the reports serialized in XML.

    Regards,
    Stef
    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
  21. Bhavika
    Bhavika avatar
    24 posts
    Member since:
    Feb 2017

    Posted 11 Jul in reply to Stef Link to this post

    Hi Stef,

    It's working...

    I got expected output.

    Thank you Stef for helping me.

     

Back to Top