Skip to main content

ASPxTreeListExporter.WriteXlsxToResponse(Boolean, 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.v24.2.dll

Declaration

public void WriteXlsxToResponse(
    bool saveAsFile,
    XlsxExportOptions exportOptions
)

Parameters

Name Type Description
saveAsFile Boolean

true to display the File Download dialog; false to display the XLSX file with exported data within a page.

exportOptions XlsxExportOptions

A XlsxExportOptions object that provides export options.

See Also