Skip to main content

ASPxTreeListExporter.WriteXlsToResponse(Boolean, XlsExportOptions) Method

Exports data to a file in XLS 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 WriteXlsToResponse(
    bool saveAsFile,
    XlsExportOptions exportOptions
)

Parameters

Name Type Description
saveAsFile Boolean

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

exportOptions XlsExportOptions

A XlsExportOptions object that provides export options.

See Also