namespace TestClassLibrary1
{
    using System;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms;
    using Telerik.Reporting;
    using Telerik.Reporting.Drawing;
    using Telerik.Reporting.Expressions;

    /// <summary>
    /// Summary description for Table.
    /// </summary>
    public partial class Table : Telerik.Reporting.Report
    {
        public Table()
        {
            //
            // Required for telerik Reporting designer support
            //
            InitializeComponent();

            this.counter = 0;
            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }


        int counter;
        private void textBox2_ItemDataBinding(object sender, EventArgs e)
        {
            Telerik.Reporting.Processing.TextBox procPageFooterTextBox = (sender as Telerik.Reporting.Processing.TextBox);

            object[] procGroupFooterTextBoxs = procPageFooterTextBox.Report.ChildElements.Find
                                            ("manufacturerDataTextBox", true);
            
            procPageFooterTextBox.Value = ((Telerik.Reporting.Processing.TextBox)
                                            procGroupFooterTextBoxs[this.counter++]).Value;

            if (procGroupFooterTextBoxs.Length== counter)
                counter = 0;
        }
    
    }

  
}