This is a migrated thread and some comments may be shown as answers.

Report multiple Datasources

1 Answer 155 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
LAZAU
Top achievements
Rank 1
LAZAU asked on 16 Jul 2014, 07:54 PM
Hello!

I use a Telerik.Reporting.Report to rander a report. I have multiple objectdatasourcs on this Report for different tables from report.
I serialized this class using ReportXmlSerializer( I have different reports with different design).
How can I acces objectdatasources from report object that I get after deserialize the report serialized before without converting report object to my initial report?



 





1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 21 Jul 2014, 02:07 PM
Hello LAZAU,

You can access the ObjectDataSource components if they are assigned as data sources to the report or its report items.
To get the data source of a report item, you have to access the item first. For more information on how to accomplish that, please check the Access items from report, calling application and Table help article.
After accessing a data item, you can modify its data source or assign it a new data source via its DataItem.DataSource Property.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
LAZAU
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or