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

Serialize / Deserialize Reports

11 Answers 433 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hakan Tüzün
Top achievements
Rank 1
Hakan Tüzün asked on 28 Feb 2008, 08:10 AM
Hi,
We are using Telerik Reporting Q3 2007. 
 
- How can i load a saved report dynamically at run time?
- Is there any progress about save a report definition in outer storage (like xml-file) 
- When will your Report object (Telerik.Reporting.Report)  be supporting serializing / deserializing with soap or binary formatter or other way to serialize.

11 Answers, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 28 Feb 2008, 10:04 AM
Hello Hakan Tüzün,

We have already answered to your question in this forum thread.

Sincerely yours,
Svetoslav
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Chad
Top achievements
Rank 1
answered on 09 Apr 2009, 12:12 AM
I followed the thread referenced above and it stated:

[July 14, 2008]
Currently there is no built-in support for serializing/de-serializing Telerik Reports in XML. Anyway our short term plans are to provide such in the next 6 months. Up until then you have to use the Telerik Report API and create your own serialization mechanism.

This post was nine months ago; have there been any updates regarding serialization?
0
Steve
Telerik team
answered on 09 Apr 2009, 02:36 PM
Hi Chad,

Unfortunately due to the dynamic environment we work in, our plans have changed and other features have bumped up with higher priority. Don't get us wrong, we still have this request in our TODO list, but it would just be postponed for a subsequent release of the product.

Please excuse us for the inconvenience.

Greetings,
Steve
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Steve Muskopf
Top achievements
Rank 1
answered on 15 Jan 2010, 09:21 PM
Has any progress been made on serializing a Report Definition?  I would like to be able to store reports in the database and load them dynamically.  I am considering trying to write my own routine to do this, but if this feature is planned in a future release, I do not want to waste my time.  Or, perhaps someone else has an alternative to this?

Thanks!
0
Steve
Telerik team
answered on 18 Jan 2010, 10:39 AM
Hello Steve Muskopf,

Unfortunately we have not started working on this feature yet and currently it is not in our immediate plans. If you plan to make your routine for this purpose you should implement the IXmlSerializable interface in your reports and invoke some custom logic that walks through the report graph and writes the appropriate XML nodes and you can place that custom serialization logic in some utility class for better code reuse.

Regards,
Steve
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Maaike
Top achievements
Rank 1
answered on 25 Feb 2010, 08:43 AM
Hi Steve,

Do you have an example of how i can do this?
I used ISerializable and got this error Type 'Telerik.Reporting.Table' in Assembly 'Telerik.Reporting, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' is not marked as serializable'

Thanks,

Maaike
0
Steve
Telerik team
answered on 26 Feb 2010, 04:51 PM
Hello Maaike,

You should create your own wrapper objects and serialize/deserialize them instead.

Best wishes,
Steve
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
Tom
Top achievements
Rank 1
answered on 17 Aug 2010, 03:55 AM
Any update on support for XML serialization of reports?  This feature would be very useful for our project.
0
Steve
Telerik team
answered on 17 Aug 2010, 08:11 AM
Hello Tom,

We're currently working on this feature. We hope that it would be ready for the next major version of the product.

Greetings,
Steve
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
Mattias
Top achievements
Rank 1
answered on 13 Dec 2012, 01:11 PM
Where is the status on this now?
In case you don't have an official solution, do you know any 3rd-party workarounds we can draw examples from?
Any one else out there know how to fix this?
0
Steve
Telerik team
answered on 13 Dec 2012, 03:24 PM
Hello Mattias,

XML serialization of reports is available for quite some time now, see Serializing Report Definition in XML help article for more info. In fact since the release of the Report Designer in Q1 2012, you can directly create xml reports.

Greetings,
Steve
the Telerik team

HAPPY WITH 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
Hakan Tüzün
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Chad
Top achievements
Rank 1
Steve
Telerik team
Steve Muskopf
Top achievements
Rank 1
Maaike
Top achievements
Rank 1
Tom
Top achievements
Rank 1
Mattias
Top achievements
Rank 1
Share this question
or