Approved
Last Updated: 21 Jun 2019 08:14 by ADMIN
Tursunhuja
Created on: 14 Jun 2019 10:41
Type: Feature Request
5
Standalone Report Designer doesn't show ExpandoObject dynamic properties

I am using the standalone report designer with an ObjectDataSource that returns ExpandoObject. I did create some new ExpandoObject objects and set property values as suggested in https://www.telerik.com/support/kb/reporting/details/how-to-use-objectdatasource-with-expandoobjectThe problem I have that the dynamic properties of ExpandoObject are now showing in the data explorer.

2 comments
ADMIN
Todor
Posted on: 21 Jun 2019 08:14
Hi Tursunhuja,

Thank you for the reasonable feature request.
Until it is implemented, as a workaround you may fill a DataTable with the data from the ExpandoObject and pass it to the ObjectDataSource component. The columns of the DataTable will be recognized by the data explorer of the report designer. If there are nested properties, they should be flattened to be properly represented in the DataTable.
Tursunhuja
Posted on: 14 Jun 2019 11:16
The problem is that the dynamic properties of ExpandoObject are not showing in the data explorer.