It is possible to create report definition dynamically using a TRDX template, but this is no trivial matter and we do not recommend it.
Report definition is quite complex and creating it on the fly might lead to errors.
If, however, this is necessary, you should deserialize the TRDX report/template using the ReportXmlSerializer Class to get all objects from the report definition. Then you could modify the report definition (including DataSource property) and serialize it back. Check this article for details and examples.
For creating reports programmatically I suggest you to review also the Programmatic Control of Reports and the Reporting API Reference
chapters from our official documentation.
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