Telerik Version: 6.1.12.820
Hello,
I have a major issue with some of the subreports coming in as white space (not a blank table).
We have a win form with 2 telerik reportviewers stacked ontop of each other. One displays the individual mainpage + subreport combo while the other loads all the combinations of the main page + subreports (about 100 or so, totaling 350 pages (abouts), this one uses the ReportBook concept). We do this because we need to be able to preview the reports while the large report is building since it takes anywhere from 3-20 mins. And once it's completed we hide the single report viewer and show the one with all the reports.
All this was working fine but in the last few days it has been displaying blank subreports on both the large report and the single report, not necessarily the same subreport.
<Summary>
I have 1 main report with an empty detail section. I have a subreport with a table in it (blank). At runtime I basically stuff the subreports in the main report. All this is working fine except as of lately, several subreports are coming up as white space. I mean, you see the main pages header and footer, but where the detail is, it's all white.
Now to take this a step further, if you save as pdf, some of the subreports are white spaces, not necessarily the same ones that are blank in the viewer.
this is basically what I do:
foreach (...)
{
var genericSubReport = new GenericSubReport(data, title);
Telerik.Reporting.InstanceReportSource instanceReportSource = new Telerik.Reporting.InstanceReportSource();
instanceReportSource.ReportDocument = genericSubReport;
//use w/o subreports defined
Telerik.Reporting.SubReport subReport = new Telerik.Reporting.SubReport();
subReport.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Inch(subReportDefaultLocation), Telerik.Reporting.Drawing.Unit.Inch(currentLocation));
subReport.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Inch(subReportWidthSevenPointNine), Telerik.Reporting.Drawing.Unit.Inch(subReportSpacer));
measureReport.Items["detailSection"].Items.Add(subReport);
subReport.ReportSource = instanceReportSource;
subReportIndex++;
currentLocation += LOCATION;
}
The subreport itself, builds the table in the code behind. We do all this becase it was either design 100+ reports or use a dynamic model. Other thing to note is the subreports do not use the NeedDatasource but do use the ItemDataBinding.
</Summary>