GridViewExtension.WriteXlsToResponse(GridViewSettings, Object, String, XlsExportOptions) Method

Obsolete. Exports data to a file in XLS format and writes it to the Response in binary format.

Namespace: DevExpress.Web.Mvc

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

Declaration

[Obsolete("Use the ExportToXls method instead.", true)]
public static void WriteXlsToResponse(
    GridViewSettings settings,
    object dataObject,
    string fileName,
    XlsExportOptions exportOptions
)
<Obsolete("Use the ExportToXls method instead.", True)>
Public Shared Sub WriteXlsToResponse(
    settings As GridViewSettings,
    dataObject As Object,
    fileName As String,
    exportOptions As XlsExportOptions
)

Parameters

Name Type Description
settings GridViewSettings
dataObject Object
fileName String
exportOptions XlsExportOptions
See Also