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

GridViewExtension.WriteXlsToResponse(GridViewSettings, Object, Boolean) Method

OBSOLETE

Use the ExportToXls method instead.

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.v18.2.dll

Declaration

[Obsolete("Use the ExportToXls method instead.", true)]
public static void WriteXlsToResponse(
    GridViewSettings settings,
    object dataObject,
    bool saveAsFile
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
saveAsFile Boolean
See Also