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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Export To Excel from Grid.Model

Thread ID:





41627 Mar 7,2006 08:23 PM UTC Mar 8,2006 06:11 AM UTC WinForms 1
Tags: GridControl
Mark Atkinson
Asked On March 7, 2006 08:23 PM UTC

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 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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon