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

GridViewExtension.WriteXlsxToResponse(GridViewSettings, Object, XlsxExportOptions) Method

OBSOLETE

Use the ExportToXlsx method instead.

Exports data to a file in XLSX format, and writes it to the Response in binary format.

Namespace: DevExpress.Web.Mvc

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

Declaration

[Obsolete("Use the ExportToXlsx method instead.", true)]
public static void WriteXlsxToResponse(
    GridViewSettings settings,
    object dataObject,
    XlsxExportOptions exportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
exportOptions XlsxExportOptions
See Also