3 Answers, 1 is accepted
0
Hello Raffaele,
We suggest you to review the following articles in our help documentation:
IvanDT
the Telerik team
We suggest you to review the following articles in our help documentation:
The Data Source Components allow you to connect report items to different types of data sources such as database or middle-tier business objects. An expression used as data source parameter value may not contain reference to the built-in Fields collection, as fields are not yet available i.e. they come from this very data source component.
Best wishes,IvanDT
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
0
Raffaele
Top achievements
Rank 1
answered on 10 Jun 2011, 11:23 AM
Thank you for your reply.
I understand how the report life cycle works, and so now I am a new question for you.
I use as datasource a business object that has an hierarchy (properties with complex type or collection of complex type).
I found that I can navigate the collection properties and use them as datasource to data item such as table, using binding.
The issue is that my business objects are not strongly typed, but uses a dynamic type with dynamic properties (you can see it as a dictionary<string,object>). So, the problem is about how the reporting library manages the properties for types that implements the ICustomTypeDescritor (as my dynamic type does). The reporting library caches the property collection for type, but this is not good for my scenario because I use always the same type, but each instances potentially has different properties.
I think that you exclude from the caching only the DataRowView type.
Can you help me? Is there a way to define the types that the reporting library should not cache?
I understand how the report life cycle works, and so now I am a new question for you.
I use as datasource a business object that has an hierarchy (properties with complex type or collection of complex type).
I found that I can navigate the collection properties and use them as datasource to data item such as table, using binding.
The issue is that my business objects are not strongly typed, but uses a dynamic type with dynamic properties (you can see it as a dictionary<string,object>). So, the problem is about how the reporting library manages the properties for types that implements the ICustomTypeDescritor (as my dynamic type does). The reporting library caches the property collection for type, but this is not good for my scenario because I use always the same type, but each instances potentially has different properties.
I think that you exclude from the caching only the DataRowView type.
Can you help me? Is there a way to define the types that the reporting library should not cache?
0
Hello Raffaele,
Telerik Reporting caches the property collection type in order to achieve better performance. It is not possible to cancel this cashing for the time being.
Please, excuse us for the inconvenience. Don't hesitate to contact us if you have other questions.
Best wishes,
IvanDT
the Telerik team
Telerik Reporting caches the property collection type in order to achieve better performance. It is not possible to cancel this cashing for the time being.
Please, excuse us for the inconvenience. Don't hesitate to contact us if you have other questions.
Best wishes,
IvanDT
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items