Actually, its not doing what I want. I'm printing a whole bunch of invoices as a batch in just one report. Each invoice has payment slip at the bottom of the page. So if I grab the value from the report footer and put it in my page footer, it will always put the data that belongs to the last invoice. I need it to grab the data for each invoice and put it in its corresponding page footer.
I have tried something like.
1. I have added a databound to the details section.
2. I have added a text field (not databound) to the page footer section.
3. In my Page Footer ItemDataBound Event handler, I tried to get the databound field value from the details section and assign it to the text field in the page footer. But this doesn't work. The Find method doesn't find any items that match the databound field name in the details section. The "rBase" object below returns 0 items.
Please tell me a way to accomplish what I want... Thanks
private void pageFooterSection1_ItemDataBound(object sender, EventArgs e)
PageSection processingPageFooter =
Report processingReport = processingPageFooter.Report;
ReportItemBase rBase = processingReport.Items.Find("textBox48", true);
string val = string.Empty;
for (int i = 0; i < rBase.Length; i++)
TextBox txt = (Telerik.Reporting.Processing.TextBox)rBase[i];
val = val +
";" + txt.Text;