Can the report ouputs be sent directly to .pdf without using the web report viewer?
Thanks!
3 Answers, 1 is accepted
0
Peter
Telerik team
answered on 05 Jul 2011, 04:48 PM
Hi Andy,
You can export reports directly to PDF. To export a report directly, you can use the RenderReport method of the ReportProcessor class. This method converts the contents of the report to a byte array in the specified format, which you can then use with other classes such as MemoryStream or FileStream. You may find useful Exporting Report Programmatically help article.
Greetings,
Peter
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
However, I need to pass few Report Parameters from the client, according to which the report would be generated. When using a reportviewer, I use to do it in the RenderBegin event. I don't get how do I set the parameters in the present scenario, where we use a ReportServiceClient.