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

Deserializing to specific base class

1 Answer 100 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jan
Top achievements
Rank 1
Jan asked on 24 Oct 2012, 10:36 AM
Hi guys,

is it possible to serialize/deserialize using ReportXmlSerializer from/to specific report base class?

Core problem is that I need to access IDictionary in my report. Because of that I introduced user function that helps to solve this. But user function must be placed in an assembly where the actual report is placed. My report is xml serialized, so I have decided to create common base class which will change the assembly where telerik is searching for user functions. And there I stand in front of the problem that ReportXmlSerializer does not seems to support specific report base class.

Thanks for answers

1 Answer, 1 is accepted

Sort by
0
Chavdar
Telerik team
answered on 24 Oct 2012, 03:06 PM
Hi,

Currently it is not possible to deserialize to a specific report class using the ReportXmlSerializer. The reason for this is that if you have the original report type you can directly instantiate it instead of deserializing it.

Still, you can use a user function from an external assembly by declaring it in the Telerik.Reporting configuration section in the application's configuration file (web.config, app.config). Please, check the following help articles in order see how to achieve this:

Hope this helps.

All the best,
Chavdar
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

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