Gurpreet Singh
Top achievements
Rank 1
Gurpreet Singh
asked on 19 Mar 2010, 10:09 AM
Hi,
I am Using Telerik Reports. On one group i have put Page break = After.
It is working fine for grouping and generating the page break after every group, but it generate an extra page when encounter the last group. How can i prevent this extra blank page.
Thanks in advance..
Gurpreet
16 Answers, 1 is accepted
0
Hello Gurpreet Singh,
This is handled internally by the report engine and should not occur. We would appreciate if you send us step by step instructions on how to replicate it or a runnable report that shows the problem.
Kind regards,
Steve
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.
This is handled internally by the report engine and should not occur. We would appreciate if you send us step by step instructions on how to replicate it or a runnable report that shows the problem.
Kind regards,
Steve
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
Gurpreet Singh
Top achievements
Rank 1
answered on 25 Mar 2010, 07:32 AM
Hello,
thanks for the help, i have followed the following steps.
1. I have degign a report with Page header Section, Page Detail section and group footer section and Page footer section.
2. I need to group the the record according to one field.
3. I select a the perticular group.
4. i changed the property of group.under groupFooter section i have change the following property
Page break = After
5. Now the report is working fine, It show the records of a perticular group on one page of the report and then insert the page break.
Therefore we get the records of perticular group on one page.
But when it encounter the last group.It again insert a page break in the last. because of this the last page is blank.
Thanks,
Gurpreet
thanks for the help, i have followed the following steps.
1. I have degign a report with Page header Section, Page Detail section and group footer section and Page footer section.
2. I need to group the the record according to one field.
3. I select a the perticular group.
4. i changed the property of group.under groupFooter section i have change the following property
Page break = After
5. Now the report is working fine, It show the records of a perticular group on one page of the report and then insert the page break.
Therefore we get the records of perticular group on one page.
But when it encounter the last group.It again insert a page break in the last. because of this the last page is blank.
Thanks,
Gurpreet
0
Hello Gurpreet Singh,
We followed your steps but could not reproduce the problem. Can you please zip a report that we can run and observe this problem on our end? You can provide us with a link to this archive on a free file host or open a support ticket and attach it there. Once we review it, we would be able to advise you accordingly.
All the best,
Steve
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.
We followed your steps but could not reproduce the problem. Can you please zip a report that we can run and observe this problem on our end? You can provide us with a link to this archive on a free file host or open a support ticket and attach it there. Once we review it, we would be able to advise you accordingly.
All the best,
Steve
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
Amit
Top achievements
Rank 1
answered on 18 Jun 2010, 12:32 AM
Did you get a solution to this problem. I am also facing this problem in my report - an extra page towards the end of the pdf.
0
Hello Amit,
As my colleague pointed out, we are unable to reproduce that described behavior. Please send us a sample project through the support system to test it locally and we would advise you accordingly.
Sincerely yours,
Peter
the Telerik team
As my colleague pointed out, we are unable to reproduce that described behavior. Please send us a sample project through the support system to test it locally and we would advise you accordingly.
Sincerely yours,
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
Amit
Top achievements
Rank 1
answered on 21 Jun 2010, 12:41 AM
I ll guide you how to replicate this issue:
Create a user control. In this add a table (html) with some data on it, for example:
<div style class="printdiv">
<table>
<tr>
<td>A</td><td>XYZ</td>
<td>A</td><td>PQR</td>
</tr>
</table>
</div>
In CSS, you have
.PrintDiv
{page-break-after:always;}
Name Location Age
A XYZ 20
B PQR 25
... and so on, say 5 rows you have.
Now the reqmt is to print this table 4 times on seperate pages in a pdf document. To do this, create an aspx page and add a place holder container, in the code behind, add this user control 5 times to it. Make sure you have content disposition to print it over pdf.
Run this and you would see that you get a blank page towards the end of the pdf.
0
TRA
Top achievements
Rank 1
answered on 21 Jun 2010, 03:17 PM
I had a VERY similar problem. I had a footer based on a PrimaryKey with a footer and also had a labelsgroupfooter. I had the info that I wanted to appear after each PrimaryKey in the labelsGroupFooter instead of the PrimaryKey group footer. Also, make sure you go into the "Groups" and make sure you set the field you want to group on.
I hope this works.
LB
I hope this works.
LB
0
Ken
Top achievements
Rank 1
answered on 14 May 2012, 10:05 AM
hi
I found the way to avoid page break at last group.
first, create variable record that total of group: (sourceDataTable is report source data)
second, invoke GroupHeader.ItemDataBound,GroupFooter.ItemDataBound :
last, coding invoke method as follows
regard
ken
I found the way to avoid page break at last group.
first, create variable record that total of group: (sourceDataTable is report source data)
Int32 groupTotal = sourceDataTable.AsEnumerable().GroupBy(_groupItem => _groupItem.Field<
String
>(GROUP_FIELDNAME)).Count();
Int32
groupCount
= 0;
second, invoke GroupHeader.ItemDataBound,GroupFooter.ItemDataBound :
Group _group = new Group(true);
_group.GroupHeader.ItemDataBound += new EventHandler(this.GroupHeader_ItemDataBound);
_group.GroupFooter.ItemDataBound += new EventHandler(this.GroupFooter_ItemDataBound);
last, coding invoke method as follows
void GroupHeader_ItemDataBound(Object sender, EventArgs e)
{
g
roupCount
++;
}
void GroupFooter_ItemDataBound(Object sender, EventArgs e)
{
Telerik.Reporting.Processing.GroupSection processingSection = (Telerik.Reporting.Processing.GroupSection)sender;
if (groupCount >=
groupTota
l)
{
processingSection.PageBreak = PageBreak.None;
}
}
regard
ken
0
Senthil
Top achievements
Rank 1
answered on 20 Aug 2013, 09:22 AM
Set Page Break in labelgroup-footer and set Visible False. The Extra Page does not generate
Regards,
D.SENTHIL
Regards,
D.SENTHIL
0
deepak
Top achievements
Rank 1
answered on 04 Mar 2016, 01:57 PM
I am using Telerick Reports.I had put page break and keep together in all section,but still i get the blank page after each page.Please give me a solution to fix this issue.
Thanks in Advance,
Deepak
0
Hello Deepak,
Please check the Understanding Pagination article, and check which item/section causes the additional blank pages by adding borders and colors. If it is an item growing in width beyond the available physical space, try adjusting the report's PageProperties like Margins, PaperKind, PaperSize.
In case there are items growing in width and pushing other items to the right, test organizing items in Panel items - Design Considerations for Report Item Layout.
I hope this information is helpful.
Regards,
Stef
Telerik
Please check the Understanding Pagination article, and check which item/section causes the additional blank pages by adding borders and colors. If it is an item growing in width beyond the available physical space, try adjusting the report's PageProperties like Margins, PaperKind, PaperSize.
In case there are items growing in width and pushing other items to the right, test organizing items in Panel items - Design Considerations for Report Item Layout.
I hope this information is helpful.
Regards,
Stef
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
Senthil
Top achievements
Rank 1
answered on 08 Mar 2016, 01:14 PM
Can you attach the sample pdf document for reference. If set keep together true sometimes create extra pages on end of the report. if you set false to try that. If not fixed please attach same doc generated.
Thanks,
Sentil
0
Jayaram Krishnan
Top achievements
Rank 1
answered on 29 Aug 2018, 10:48 AM
This was a nightmare for me, and solved it by making report footer invisible.
Madani
0
Jonathan
Top achievements
Rank 1
answered on 12 Apr 2019, 01:49 AM
Thank you!!! I've been trying to get this to work for 24 hours. The page break in the details was just not working. Always that extra page. Putting it in the group footer worked.
0
Kourosh
Top achievements
Rank 1
answered on 28 Apr 2019, 10:33 AM
Hi,
I just setted the height of all empty footers to 0.
It removed the unwanted last empty page.
BR
Kourosh
0
Hello,
Please refer to the Problem: Telerik Reporting renders blank pages KB article to learn how to find which items or sections are causing the blank pages and/or spaces in the report. Actually these pages are not blank. Rather there is some content that cannot fit on the current page and is carried over to the next page.
Regards,
Neli
Progress Telerik
Please refer to the Problem: Telerik Reporting renders blank pages KB article to learn how to find which items or sections are causing the blank pages and/or spaces in the report. Actually these pages are not blank. Rather there is some content that cannot fit on the current page and is carried over to the next page.
Regards,
Neli
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