In Telerik Reporting data binding happens on the report. If you are using Visual Studio designer, and the data providing class for the ObjectDataSource is in the same project with the report using the ObjectDataSource, it won't be necessary to make any additional configuration changes to make the data providing class visible in the ObjectDataSource Wizard. If they are in different project, the instructions from this help article
should be followed. This article
(section Choose a data member
) further elaborates on which constructor/properties/methods of the data providing class would be visible in the Wizard.
Our sample report ListBoundReport
(could be found in TelerikReportingInstallationFolder
[i.e.Progress\Telerik Reporting R3 2017]\Examples\CSharp\ReportLibrary\DataBinding) demonstrates the approach when the DataMember is not specified, and the constructor of the data providing class (Cars
) is used to provide the data.
For security reasons, in case the report is created with the Standalone designer (i.e. trdp/trdx file), it would be necessary to copy the assembly, containing the data providing class into the folder of the application that uses the report (Standalone designer for creating and previewing it), and register the assembly in application configuration file (Telerik.ReportDesigner.exe.config
) as explained here
. The folder of the Standalone designer is TelerikReportingInstallationFolder
[i.e.Progress\Telerik Reporting R3 2017]\Report Designer.
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?
Telerik Feedback Portal
and vote to affect the priority of the items