How to fire the export event from code RRS feed

  • Question



              Iam currently able to generate a report and use the export functionality.But wht aim trying to do is i want to fire the export functionality event and  generate a pdf through code, save it some where in my app  and send it to user as a attachment in email.Let me know if this is possible or not and how can i do this.

    Wednesday, January 23, 2008 4:54 PM


  • You can export the report manually by calling the Render method on ReportViewer.ServerReport or ReportViewer.LocalReport depending on the mode you are using.  The ListRenderingExtensions() method on the same object will give you a list of rendering formats that are available for the mode.  There are some samples of this at

    Friday, January 25, 2008 9:35 PM