Skip to main content
All docs
V24.1
Tab

ASPxGridView.ExportXlsToResponse(XlsExportOptionsEx) Method

Exports the control’s data in XLS format with the specified export settings, and writes it to the response in binary format.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public void ExportXlsToResponse(
    XlsExportOptionsEx exportOptions
)

Parameters

Name Type Description
exportOptions XlsExportOptionsEx

The export options.

Remarks

This method writes files to the response and do not write them to a storage (for example, a file system).

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ExportXlsToResponse(XlsExportOptionsEx) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also