Posted 8 August 2019, 5:11 am EST
Hi,
We have recentely downloaded the trial version of ActiveReports 13 and we are testing it intensively. We are trying to reimplement/port functionalities from our old ActiveReports server/client applications to our new implementations. Our server based reporting applications are written in C# with .NET 4.7.2.
We are trying to send generated result sreams from our server based application to our client application. Our client application uses the ActiveReports viewer to load/show report results directly (no processing and datasource calls on the client side).
New reporting tools need to implement same functionalities as our old tools did. This means, save a report result as a stream and open it on the client side. Our old ActiveReports viewer was unable to open exported files (with extensions) directly, but was able to open streamed content.
Our old implementations of ActiveReports server/client side applications implement four base steps:
main_rpt = new ActiveReport3();
We declare and load a .rpx report file into an ActiveReports AtiveReport3 class.
main_rpt.Run();
We run the report processing procedure to obtain the result stream.
main_rpt.Document.Save(stream, RdfFormat.ARNet);
Than we save the result into a MemoryStream which stays open and we send it to our client application.
rpt.Document.Load(stream);
Our client application receives the result through a web service and is able to load the stream back into a report object that gets rendered into ActiveReports viewer on the client side.
We need some guidance on where to find the “save as stream” implementation if such implemnetation still exists in the latest ActiveReports.
Looking forward to hearing from you soon.
Thank you.
Best regards.
Sandro