GridViewExtension.WriteXlsxToResponse(GridViewSettings, Object, String, 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.v20.2.dll


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


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