This example demonstrates how to export an XtraReport instance in an ASP.NET application via the Response.BinaryWrite() method. First, in the Default.aspx page, you should select the export file format and specify whether the exported document intended to be displayed "inline" i. e. in the same browser window. Then, click the "Export" button. The report is created and stored in the Session variable. The user is then redirected to the ReportOutput.aspx. The report, persisting in the Session, will be exported to this page base in the settings you've specified on the first page.
Question Comments
Added By: Rafael Espinosa at: 8/13/2012 6:12:20 AM
Thanks for you response,
But I don ́t want to make a redirect to another page!! I would like to show directly the browser download file dialog (open or save) with the data of my created XtraReport.
Added By: Rafael Espinosa at: 8/13/2012 6:53:46 AMI downloaded your example and everything has worked correctly. Thanks for your response
Added By: sateesh at: 10/3/2012 12:27:55 AMHi,
If i had a parameters in report , so below mentioned code is not exporting the data in rtf format
Thanks
Sateesh myadaram
I tried this example that works fine.
I know that is not a Devexpress issue, but could you tell me how to come back automatically to a new default page after showing the report?