Tab

ASPxGridBase.ExportXlsxToResponse(Boolean, XlsxExportOptionsEx) Method

Exports the grid’s data to a file in XLSX format with the specified export settings, and writes it to the response in binary format.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

public void ExportXlsxToResponse(
    bool saveAsFile,
    XlsxExportOptionsEx exportOptions
)