This is a migrated thread and some comments may be shown as answers.

NeedDataSource order of firing

1 Answer 107 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Alon
Top achievements
Rank 1
Alon asked on 11 Jan 2011, 01:55 PM
I have a report that contains a Telerik.Reporting.Table and a Telerik.Reporting.Chart.  If I add an event handler for the NeedDataSource event on all three (the report, the table and the chart) in which order will the events fire?  In the debugger the event for the report fires first and then the others fire, but is this always the case?

1 Answer, 1 is accepted

Sort by
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 11 Jan 2011, 02:46 PM
Yes, I believe so. And generally this should not be of any concern as those items are data items and do not necessarily depend on each other, and even in the case where they could, you can make the connection work by using the declarative datasource components in Telerik Reporting instead of events. Check those:
  • http://www.telerik.com/help/reporting/data-items.html
  • http://www.telerik.com/help/reporting/connecting-to-data-data-source-components.html
Cheers!
Tags
General Discussions
Asked by
Alon
Top achievements
Rank 1
Answers by
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or