Export C# reportviewer control programmatically

c#, export, reportviewer

Solution

You can do this with ReportViewer Control(with LocalReport.Render Method), check "Email a report" example at the http://www.gotreportviewer.com/

Problem

Does anyone know if you can programmatically save a report shown in a reportviewer control in C#? When a report is shown there are "Export to..." buttons and I would like to automate the saving to PDF function.

Original source