We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Export To Excel from Grid.Model

Thread ID:

Created:

Updated:

Platform:

Replies:

41627 Mar 7,2006 03:23 PM Mar 8,2006 01:11 AM Windows Forms 1
loading
Tags: GridControl
Mark Atkinson
Asked On March 7, 2006 03:23 PM

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;

stanleyj [Syncfusion]
Replied On March 8, 2006 01:11 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;