We generate telerik report in one project and would like to access it via a web service (.net 2.0) in another project.
Is there a way to do this?
Thanks
Raka
3 Answers, 1 is accepted
0
Stef
Telerik team
answered on 28 Mar 2014, 04:58 PM
Hello Raka,
You can serialize the report into XML format and transfer it elsewhere for use. The report can be later deserialized to .NET object or used directly as XML.
You can also make use of the available Telerik Reporting Services to serve already generated report documents to remote clients.
If you need any further help, please elaborate on the scenario and the way the report will be used in the second application.
Regards,
Stef
Telerik
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
We don't have XmlSerializer available. Can the System xmlSerializer be used? How do I display the report after deserialization?
Thanks, Raka
0
Stef
Telerik team
answered on 04 Apr 2014, 10:20 AM
Hi Raka,
The dedicated ReportXmlSerializer Class is available when you add a reference to Telerik.Reporting.dll. You need to use our serializer in order to get a proper XML from the existing report instance.
The XML file can be displayed again in a viewer (or used with ReportProcessor) via XmlReportSource, where you will have to read the XML, or UriReportSource, where you need to specify the path to the XML file.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.