Hi Everyone,
I read this thread and apply it in order to add several subreports on the same detail section.
My problem is that the first sub report is more than one page and that messes with the render:
The first page is blank
The second page is filled with the first part of the first subreport
The third page is filled with the second part of the first subreport and the second subreport
The fourth page is blank
The last page is filled with the last subreport.
here is my code:
Thank you.
PS: I would like to have all subreports to begin on a new page regardless of the length of the predecing subreport if any
I read this thread and apply it in order to add several subreports on the same detail section.
My problem is that the first sub report is more than one page and that messes with the render:
The first page is blank
The second page is filled with the first part of the first subreport
The third page is filled with the second part of the first subreport and the second subreport
The fourth page is blank
The last page is filled with the last subreport.
here is my code:
Telerik.Reporting.SubReport subRep; |
Unit unitX = Unit.Cm(0.1); |
Unit unitY = Unit.Cm(0.1); |
SizeU size = new SizeU(Unit.Cm(0.5), Unit.Cm(0.5)); |
foreach (string wo in woArray) |
{ |
//create subreport |
subRep = new SubReport(); |
subRep.Size = size; |
subRep.Location = new PointU(unitX, unitY); |
subRep.ReportSource = new Report(wo); |
unitY = unitY.Add(Unit.Cm(2)); |
detail.Items.Add(subRep); |
} |
Thank you.
PS: I would like to have all subreports to begin on a new page regardless of the length of the predecing subreport if any