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

ASPxGridBase.ExportCsvToResponse Method

Name Parameters Description
ExportCsvToResponse() none Exports the grid’s data to a file in CSV format and writes it to the response in binary format.
ExportCsvToResponse(CsvExportOptionsEx) exportOptions Exports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(Boolean, CsvExportOptionsEx) saveAsFile, exportOptions Exports the grid’s data to a file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(Boolean) saveAsFile Exports the grid’s data to the specified file in CSV format with the specified settings, and writes it to the response in binary format.
ExportCsvToResponse(String, CsvExportOptionsEx) fileName, exportOptions Exports the grid’s data to the specified file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, Boolean, CsvExportOptionsEx) fileName, saveAsFile, exportOptions Exports the grid’s data to the specified file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String, Boolean) fileName, saveAsFile Exports the grid’s data to the specified file in CSV format with the specified export settings, and writes it to the response in binary format.
ExportCsvToResponse(String) fileName Exports the grid’s data to the specified file in CSV format, and writes it to the response in binary format.