Hi there
I am newbie to this Telerik Reporting and trying to get use to simple reporting stuff with crosstabs. I have a simple datatable that need to be shown as exactly in report and counting the totals.
Design:
Code:
Problem:
Questions:
I greatly appreciate any guidance from this active community sooner.
Thanks in advance
I am newbie to this Telerik Reporting and trying to get use to simple reporting stuff with crosstabs. I have a simple datatable that need to be shown as exactly in report and counting the totals.
Design:
- Having a cross tab control with text fields as exactly populated in DataTable, in the Detail Section.
- Having a Chart control in the Detail Section
- DataFields are assigned in the Value Property of textboxes like "=Fields.<ColumnName>"
Code:
- At the constructor level, i loaded the Report Page datasource with the DataTable i have.
- Chart NeedDataSource event also loads the chart's datasource with the datatable.
Problem:
- Though the Chart loads the data perfectly, the cross tab throws instantiation error (Object reference not set) on each of the textbox those value property are set to "=Fields.<ColumnName>".
- And also i see chart and this cross tab with one data row (with error text on each bounded column) per report page and is repeated in seperate Report Pages for the number of rows i have in the DataTable.
Questions:
- Please explain me the behaviour of why the report page is repeated the times of records.Is that because i load the datasource to the page like this.Datasource = dataTableObj; in the Report Page constructor. But i referred the examples you guys gave in CSharp.ReportLibrary Dashboard example for loading the crosstabs in Detail Section and i just followed that. Please correct me where i am wrong
- Also suggest me the best way to show simple tabular data in reports that can extend more than a page.
I greatly appreciate any guidance from this active community sooner.
Thanks in advance