Scenario:
I have a web page with multiple charts and I have an ‘Export to PDF’ button that the User should be able to click and it generates a PDF that the User can then save.
Given:
A Telerik RadChart that can save itself into a memory stream as such:
MemoryStream chartStream = new MemoryStream();
RadChart1.Save(chartStream, ImageFormat.Png);
Using this memory stream, is it possible to build a PDF using the SQL Reporting Services WITH OUT saving it to a file first OR having to insert it into an MSSQL table first?
I will up-vote and/or accept any answer that is an open source or free solution to this problem as well.
Thanks.
Alright, just figured this out. There are three elements to this answer, two screenshots to follow in order and then some code:
Creating a typed dataset to hold the chart image(s)
Hooking the typed dataset up to the RDLC report
The button click code for generating the PDF and streaming it to the browser.