Export To Excel from Grid.Model

I''ve implemented some code to export the contents of a grid to an Excel spreadsheet. Works like a charm except for a message box that appears and reads: "Total time of iteration throw cells" Any ideas how to get rid of this? Any update in the future? Here''s my code (that goes in a try/catch): IWorkbook workBook = ExcelUtils.CreateWorkbook (1); IWorksheet workSheet = workBook.Worksheets[0]; GridControlBase gridControlBase = grid as GridControlBase; GridExcelConverterControl converter = new GridExcelConverterControl (); converter.GridToExcel (gridControlBase.Model, workSheet, ConverterOptions.ColumnHeaders); workBook.SaveAs (fileName); workBook.Close (); ExcelUtils.ThrowNotSavedOnDestroy = false;

1 Reply

ST stanleyj Syncfusion Team March 8, 2006 06:11 AM UTC

Hi Mark, We have this defect filed, please refer the link, Defect #1440 - GridExcelConverter displays message box after conversion. This will be addressed shortly. Best regards, Stanley

Loader.
Up arrow icon