Skip to main content

ASPxTreeListExporter.WriteXlsToResponse(String, Boolean) Method

Exports data to the specified file in XLS format and writes it to the Response in the binary format.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public void WriteXlsToResponse(
    string fileName,
    bool saveAsFile
)

Parameters

Name Type Description
fileName String

A String value that specifies the target file name.

saveAsFile Boolean

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

See Also