GridViewExtension.WriteCsvToResponse(GridViewSettings, Object, CsvExportOptions) Method

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


[Obsolete("Use the ExportToCsv method instead.", true)]
public static void WriteCsvToResponse(
    GridViewSettings settings,
    object dataObject,
    CsvExportOptions exportOptions
<Obsolete("Use the ExportToCsv method instead.", True)>
Public Shared Sub WriteCsvToResponse(
    settings As GridViewSettings,
    dataObject As Object,
    exportOptions As CsvExportOptions


Name Type
settings GridViewSettings
dataObject Object
exportOptions CsvExportOptions
See Also