GridExcelConverterControl requires grid attached to form?

Hi

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
William


1 Reply

J. J.Nagarajan Syncfusion Team December 20, 2007 06:10 PM UTC

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.

http://websamples.syncfusion.com/samples/XlsIO.Windows/F70606/main.htm

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

Regards,
Nagaraj



Loader.
Up arrow icon