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

ASPxTreeListExporter.WriteDocxToResponse() Method

Exports the tree list’s data to a file in DOCX format and writes it to the Response in binary format.

Namespace: DevExpress.Web.ASPxTreeList

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

NuGet Package: DevExpress.Web

Declaration

public void WriteDocxToResponse()

Remarks

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

Note

Before exporting a tree list, the ASPxTreeListExporter component creates an export document on a server. Therefore, when you export a large amount of data to a server with limited memory, the OutOfMemoryException exception may appear.

See Also