I'm using tables in my report to make it easy for me to increase the height of sections programmatically. Now I need to add a field from the reports data source in the detail section to a table in the detail section. When I drag the field from the details section to the Table it uses the Tables data source which I don't have set so nothing is displayed. Is there a way to reference the reports fields within the table? If not I can control the flow of the individual controls.
5 Answers, 1 is accepted
The Table report item can be considered a separate data region within the Report the same way the SubReport is. This means that the Table knows nothing about the data source of the parent Report, so you cannot bind a TextBox from the Table directly to a field from the Report data source. Perhaps the easiest solution is to simply add the required field from the Report data source to the Table data source. Alternatively you can handle the ItemDataBinding event of the TextBox and set its Value property programmatically to the required field from the Report data source. I have created a small test report to illustrate this approach (see the attached file).
the Telerik team