What is the firing order of events?

2 posts, 0 answers
  1. Cognitronic
    Cognitronic avatar
    11 posts
    Member since:
    Sep 2012

    Posted 26 Sep 2010 Link to this post


    I have a report with multiple datasources in which I'm trying to get certain values from each datasource and display/run calculations on in the footer of the report.  I'm using the ItemDataBound event of different textboxes to calculate totals and assign them to a variable in the codebehind.  The problem is I don't understand the firing order of the different ItemDataBound events.  If I have two tables and 5 textboxes in the report footer section....which textbox's ItemDataBound is fired first?  Is there a way to control the order?

  2. Steve
    Steve avatar
    10941 posts

    Posted 27 Sep 2010 Link to this post

    Hello Cognitronic,

    The order of the events depends only on the order of the item collection of the report footer. You can see the order of the items in the InitializeComponent method, e.g.

                // reportFooterSection1
                this.reportFooterSection1.Height = new Telerik.Reporting.Drawing.Unit(3, Telerik.Reporting.Drawing.UnitType.Cm);
                this.reportFooterSection1.Items.AddRange(new Telerik.Reporting.ReportItemBase[] {
                this.reportFooterSection1.Name = "reportFooterSection1";

    Sincerely yours,
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top