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

DynamicObject as data source for ObjectDataObject

3 Answers 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 22 Apr 2013, 05:39 PM
I'm trying to pass in some business objects to an ObjectDataSource that inherit from DynamicObject. I want to be able to use properties that aren't concretely defined at compile time in the reports using the Fields.<Field name> syntax. I keep getting an error saying that these fields are available with in the context. Any suggestions?

3 Answers, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 24 Apr 2013, 01:18 PM
Hi Chris,

The DynamicObject is introduced in .NET 4.0 and Telerik Reporting supports .NET 2.0. This currently does not allow us to add support for DynamicObject. We have plans for dropping older .NET version and after we go to .NET 4.0 and above, we will be able to add support for the DynamicObject. Currently you can use DataTable to substitute the required functionality. 
 

Regards,
Elian
the Telerik team

Have you tried the new visualization options in Telerik Reporting Q1 2013? You can get them from your account.

0
Marco
Top achievements
Rank 1
answered on 17 Aug 2015, 06:21 AM

Hi!

I would really appreciate dynamic support in Telerik.Reporting. Could you specify your plans for dropping .NET 2.0 support​ and realizing this feature?

Thanks,
Marco

0
Peter
Telerik team
answered on 19 Aug 2015, 08:37 AM
Hello Marco,

We have already dropped the support for .NET 2.0 but currently we don't have plans to introduce support for DynamicObject. However we are interested in your case and we will appreciate if you elaborate further on you business scenario.

In the meantime our suggestion is still to use DataTable to substitute the required functionality. 

Regards,
Peter
Telerik
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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Chris
Top achievements
Rank 1
Answers by
Elian
Telerik team
Marco
Top achievements
Rank 1
Peter
Telerik team
Share this question
or