When I use the following code my detail section (backDetail) doesn't show. It is like it is completely ignoring it. Why?
| RalphsReportDuplex report = new RalphsReportDuplex(); |
| RalphsPostcardFront01 front = report.PostcardFront.ReportSource as RalphsPostcardFront01; |
| Telerik.Reporting.DetailSection backDetail = new Telerik.Reporting.DetailSection(); |
| backDetail.Name = "PostcardBack"; |
| backDetail.ColumnCount = 2; |
| backDetail.Height = new Telerik.Reporting.Drawing.Unit(4.05F, Telerik.Reporting.Drawing.UnitType.Inch); |
| Telerik.Reporting.SubReport backSubReport = new Telerik.Reporting.SubReport(); |
| backSubReport.Height = backDetail.Height; |
| backSubReport.Location = new Telerik.Reporting.Drawing.PointU( |
| new Telerik.Reporting.Drawing.Unit(0F), |
| new Telerik.Reporting.Drawing.Unit(0F)); |
| backSubReport.Size = new Telerik.Reporting.Drawing.SizeU( |
| new Telerik.Reporting.Drawing.Unit(5.10F, Telerik.Reporting.Drawing.UnitType.Inch), |
| new Telerik.Reporting.Drawing.Unit(4.05F, Telerik.Reporting.Drawing.UnitType.Inch)); |
| RalphsPostcardBack01 back = new RalphsPostcardBack01(); |
| backSubReport.ReportSource = back; |
| report.Items.Add(backDetail); |
| backDetail.Items.Add(backSubReport); |