Hello telerik
According to your examples, you know the location of elements, their values and element count.
But when I create report, I don't know how many columns will be in my report. Usually 20-40 columns.
A piece of code: (I write by hand, to don't copy the entire code)
Only each first page contains correctly aggregate values, other pages contsins 0
If replace PageFooterSection to Telerik.Reporting.GroupFooterSection all aggregate items is equals 0
How correctly calculate aggregates, when have too many columns and they are transferred on other pages?
Thanks
According to your examples, you know the location of elements, their values and element count.
But when I create report, I don't know how many columns will be in my report. Usually 20-40 columns.
A piece of code: (I write by hand, to don't copy the entire code)
//by default standard portrait A4private void BuilderReport(Telerik.Reporting.IReportDocument report){ report.Width = new Unit(Columns.Count * 1.2, UnitType.Inch); // ≈ 20-25 Inch // ... foreach (var column in Columns) { var dataTextBox = new TextBox { /* Size, Location etc */ }; report.Items["detail"].Items.Add(dataTextBox); // ... var footerTextBox = new TextBox { /* Size, Location etc */ }; footerTextBox.Value = string.Format(@"=PageExec(""{0}"", Count(Fields.{0}))", column.Name); // pageFooter is Telerik.Reporting.PageFooterSection report.Items["pageFooter"].Items.Add(footerTextBox); }}Only each first page contains correctly aggregate values, other pages contsins 0
If replace PageFooterSection to Telerik.Reporting.GroupFooterSection all aggregate items is equals 0
How correctly calculate aggregates, when have too many columns and they are transferred on other pages?
Thanks