GridViewExtension.WriteXlsxToResponse(GridViewSettings, Object, Boolean, XlsxExportOptions) Method

Obsolete. 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.v19.2.dll


[Obsolete("Use the ExportToXlsx method instead.", true)]
public static void WriteXlsxToResponse(
    GridViewSettings settings,
    object dataObject,
    bool saveAsFile,
    XlsxExportOptions exportOptions
<Obsolete("Use the ExportToXlsx method instead.", True)>
Public Shared Sub WriteXlsxToResponse(
    settings As GridViewSettings,
    dataObject As Object,
    saveAsFile As Boolean,
    exportOptions As XlsxExportOptions


Name Type Description
settings GridViewSettings
dataObject Object
saveAsFile Boolean
exportOptions XlsxExportOptions
See Also