Skip to main content
All docs
V24.1
Tab

ASPxGridView.ExportXlsToResponse Method

Name Parameters Description
ExportXlsToResponse(XlsExportOptions) exportOptions Exports the control’s data in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(XlsExportOptionsEx) exportOptions Exports the control’s data in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(Boolean, XlsExportOptions) saveAsFile, exportOptions Exports the control’s data in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(Boolean, XlsExportOptionsEx) saveAsFile, exportOptions Exports the control’s data in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(String, XlsExportOptions) fileName, exportOptions Exports the control’s data to a file in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(String, XlsExportOptionsEx) fileName, exportOptions Exports the control’s data to a file in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(String, Boolean, XlsExportOptions) fileName, saveAsFile, exportOptions Exports the control’s data to a file in XLS format with the specified export settings, and writes it to the response in binary format.
ExportXlsToResponse(String, Boolean, XlsExportOptionsEx) fileName, saveAsFile, exportOptions Exports the control’s data to a file in XLS format with the specified export settings, and writes it to the response in binary format.