AUTHOR: Stephania Tapela
DATE POSTED: October 25, 2016
Article information
Article relates to
Telerik Reporting R3 2016+
Created by
Stef, Telerik
Last modified
October 25th, 2016
Last modified by
void
report_NeedDataSource(
object
sender, EventArgs e)
{
this
.DataSource = GetReportData();
.table.DataSource = GetTableData();
}
As of R3 2016 we applied an optimization change in the report rendering algorithm and now each definition item property values are read and cached once the report rendering starts. If you are working with item definitions in events, they will not be modified. For more details, check the updated Understanding Events help article.
Telerik.Reporting.Processing.Report processingReport = (Telerik.Reporting.Processing.Report)sender;
processingReport.DataSource = GetReportData();
table_NeedDataSource(
Telerik.Reporting.Processing.Table processingTable = (Telerik.Reporting.Processing.Table)sender;
processingTable.DataSource = GetTableData();
<?
xml
version
=
"1.0"
encoding
"utf-8"
?>
<
configuration
>
<!-- section handler ok; 1 extension -->
configSections
section
name
"Telerik.Reporting"
type
"Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting.Configuration, Culture=neutral, PublicKeyToken=a9d7983dfcc261be"
allowLocation
"true"
allowDefinition
"Everywhere"
/>
</
Telerik.Reporting
processing
cacheDefinitionProperties
"false"
Resources Buy Try