Skip to main content
A newer version of this page is available. .

ASPxTreeList.ExportRtfToResponse(Boolean, RtfExportOptions) Method

Exports the ASPxTreeList’s data to a file in RTF format with the specified setting, and writes it to the response in binary format.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

public void ExportRtfToResponse(
    bool saveAsFile,
    RtfExportOptions exportOptions
)

Parameters

Name Type Description
saveAsFile Boolean

true to display the Save As dialog; false to display the file with exported data within a page.

exportOptions RtfExportOptions

A RtfExportOptions object which specifies the export options to be applied when the control’s data is exported.

See Also