Skip to main content

ASPxTreeListExporter.WriteXlsxToResponse(XlsxExportOptions) Method

Exports data to a file in XLSX format with the specified export settings, and writes it to the Response in the binary format.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void WriteXlsxToResponse(
    XlsxExportOptions exportOptions
)

Parameters

Name Type Description
exportOptions XlsxExportOptions

A XlsxExportOptions object that provides export options.

Remarks

The WriteXlsxToResponse method exports data to a file whose name is specified by the ASPxTreeListExporter.FileName property.

See Also