locked
Save Multiple Reports to PDF RRS feed

  • Question

  • User-1486682524 posted

    Hello,

    I have a web based report that uses theReportViewer.LocalReport.Render to save a PDF file to the server for a visitor to download. I am using an ID number to identify the information that will be in the report.  I need to make multiple reports, one each, for a list ID numbers.  I would like to be able to supply an array of ID numbers and have a new/different PDF file saved to the server for each ID in the array.  My guess is that I need to somehow refresh the report and cause it to re-generate for each number in my array but so far, I have been unable to do this.   Any help would be greatly appreciated. 

    Thanks,

    MxW

    Monday, December 16, 2013 10:53 AM

All replies

  • User1789048459 posted

    Hi,

    Go the the reporting web site and find the report. Mouse over and click on the dropdown arrow. Click Subscribe. On the subscription page choose Windows File Share as delivery method and PDF as Render Format. Provide the other needed info such as credentials, frequency, etc. You will have to repeat this for each report.

    If you want all reports in one PDF then you will need to create a custom app. You can retrieve each report and combine then prior to saving. May need to retrieve in HTML format and append, then convert to pdf and save. Try these references:
    http://hamang.net/2008/08/14/html-to-pdf-in-net/
    http://www.aspsnippets.com/Articles/Export-GridView-To-WordExcelPDFCSV-in-ASP.Net.aspx

    Hope this helps.

    Tuesday, December 17, 2013 9:29 PM