GridViewExtension.WriteXlsxToResponse(GridViewSettings, Object, String, Boolean, XlsxExportOptions) Method
In This Article
OBSOLETE
Use the Export
Exports data to a file in XLSX format, and writes it to the Response in binary format.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
NuGet Package: DevExpress.Web.Mvc5
#Declaration
[Obsolete("Use the ExportToXlsx method instead.", true)]
public static void WriteXlsxToResponse(
GridViewSettings settings,
object dataObject,
string fileName,
bool saveAsFile,
XlsxExportOptions exportOptions
)
#Parameters
Name | Type |
---|---|
settings | Grid |
data |
Object |
file |
String |
save |
Boolean |
export |
Xlsx |
See Also