This example uses the Response.BinaryWrite method to export an XtraReport instance in an ASP.NET application.
Select the export file format and specify whether the exported document should be displayed in the same browser window (inline). Click the "Export" button. The report is created and stored in the Session variable. The user is redirected to the ReportOutput.aspx page. The report is obtained from Session and exported to the specified format.
- XtraReport1.cs (VB: XtraReport1.vb)
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
- ReportOutput.aspx (VB: ReportOutput.aspx)
- ReportOutput.aspx.cs (VB: ReportOutput.aspx.vb)
(you will be redirected to DevExpress.com to submit your response)
