Completed
Last Updated: 27 Jan 2021 13:04 by ADMIN
Release LIB 2021.1.201
Martin Ivanov
Created on: 21 Dec 2020 09:01
Category: GridView
Type: Bug Report
0
GridView: Memory leak when exporting to Xlsx and Pdf formats

Memory leak appears when exporting to Xlsx and Pdf formats.

To work this around, you can call one of the export methods GridViewDataControlExportExtensions with empty arguments.

Workbook workbook = this.gridView.ExportToWorkbook();
try
{
	GridViewDataControlExportExtensions.ExportToWorkbook(new RadGridView(), new GridViewDocumentExportOptions());
	GridViewDataControlExportExtensions.ExportToWorkbook(null);
}
catch (ArgumentException)
{
}        

0 comments