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.
33 Answers, 1 is accepted
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.
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.
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
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.
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
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.
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
Hello Katia,
Thank you for your suggestion.
Now problem is my data is displaying dynamically, so how can I set height of custom image?
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
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.
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:
- Add a GroupFooterSection or ReportFooterSection with PrintAtBottom=true in the sub report;
- 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
Hi Stef,
Thank you for suggestion.
I already did that but it doesn't look my expected output.
Hi Stef,
Here I have attached Images with problems.
Please give me any Idea regarding this.
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
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
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
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
Hi Stef,
For that Vertical Line, I have set BroderStyle - Left = solid for Textbox.
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
Hi Stef,
It's working...
I got expected output.
Thank you Stef for helping me.
I was wondering if anyone could guide me if this bug(that's what I'm gonna call it) is resolved yet ?
I am creating such report and it's very hectic not to find a way to get it done.
If anybody could help ?
Please check and vote for this functionality in our Ideas & Feedback portal - Better support for form type reports.
Regards,
Nasko
Progress Telerik
Hello Nasko,
I've already voted for this functionality and waiting to get information either this is implemented in 2019 Mid January release or not as Milen on the conversation board there says it was due in Mid January 2019 so I suppose it should be out by now and if yes then please please acknowledge and if NOT then it's not good I think as lots of people are eagerly waiting for this to be done.
Hope you understand the need.
Thanks
We operate in a dynamic environment and had to allocate more resources than expected to the .NET Core support feature for the R1 2019 release. For this reason we had to postpone the "Better support for form type reports" feature request. You will be notified automatically once this feature is in the making and its status is changed to "in development".
Regards,
Nasko
Progress Telerik
Please advice with a proper solution to counter this problem.
Thank you
I brought the issue up to the development team in order to increase its priority. A proper solution would be to implement this feature on our end. The other solutions are temporary workarounds which may or may not be good enough for the end user. We will let you know once this feature is being developed via the product's feedback portal.
Regards,
Nasko
Progress Telerik
Priority has to be increased massively!
The first post in this thread dates from 2014 and last one is 2019. That's a five year span !!
How long does it have to take before a serious issue like this is being handled properly?
i have some problem Nasko's ,
my telerik report detail section inside table growing time footer and detail section between some space growing how to stop that?
As soon as the implementation starts, you will be notified via email. For now, depending on the scenario, I can suggest the usage of Panel and/or Shapes as a workaround.
Regards,
Neli
Progress Telerik
Hi Namit,
With the upcoming release R1 2021 scheduled for January 20th, 2021 we will provide a new item, 'CrossSection' that would allow for achieving this requirement. See also the feature request Better support for form type reports.
Regards,
Neli
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
For everyone still having this issue. You will have to ditch de Table and use the following approach. Add a group header and Footer around your Detail Section. On the Group Header you will place the labels for the Column Headers, For the borders, use a Cross Section Item that you will span across the Group Header and Footer. On the Group Footer set the Property PrintAtBottom to True.
You now have a Detail Section that fills the page.
Actually you could still use the Table with CrossSectionItem Lines overlapping the borders, still works