Skip to main content

GridViewExtension.WriteCsvToResponse(GridViewSettings, Object, CsvExportOptions) Method

OBSOLETE

Use the ExportToCsv method instead.

Exports the grid’s data to a file in CSV format with the specified export options, and writes it to the Response in binary format.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

[Obsolete("Use the ExportToCsv method instead.", true)]
public static void WriteCsvToResponse(
    GridViewSettings settings,
    object dataObject,
    CsvExportOptions exportOptions
)

Parameters

Name Type
settings GridViewSettings
dataObject Object
exportOptions CsvExportOptions
See Also