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.

GridExcelConverterControl requires grid attached to form?

Thread ID:





70606 Dec 18,2007 12:11 PM Dec 20,2007 01:10 PM Windows Forms 1
Tags: XlsIO
Asked On December 18, 2007 12:11 PM


We are trying to use the GridExcelConverterControl to export a grid to Excel, and it appears not to be writing any formatting unless the grid has been added to a Form. No exceptions are raised; it just doesn't work. We have tried setting IsWindowless on the grid, but it doesn't help.

Is this a bug, or are we doing something wrong? Is seems surprising for a utility class to require an associated GUI control before it will operate correctly.

Best Regards

J.Nagarajan [Syncfusion]
Replied On December 20, 2007 01:10 PM

Hi William ,

You can convert the Grid to Excel without adding the Grid to the form. Here is the sample for your reference to export full grid to excel along with the formatting dd/mm/yyyy.


Please refer to it and let me know if this helps.



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.