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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Exception while exporting grouped grid to excel

Thread ID:

Created:

Updated:

Platform:

Replies:

114708 Dec 5,2013 08:52 AM UTC Dec 11,2013 06:46 AM UTC WinForms 1
loading
Tags: GridControl
shirit
Asked On December 5, 2013 08:52 AM UTC

Hi,

I'm using syncfusion version:6.4.0.15

I'm getting System.NullReferenceException when trying to export grouped grid to excel using:

gcc.GroupingGridToExcel(_grid.TableControl.GroupingControl, worksheet, Syncfusion.GridExcelConverter.ConverterOptions.Default);

the StackTrace shows "at Syncfusion.GroupingGridExcelConverter.GroupingGridExcelConverterControl.ExportColumnHeader(GridColumnHeaderRow headerRow, IWorksheet sheet, Element element, Int32 index, ConverterOptions options, Int32 iGroupLevel, Int32& iSkipCount)...

How can i avoid this exception using this Syncfusion version? 

Thank's for your help, shirit.      


Praveena P [Syncfusion]
Replied On December 11, 2013 06:46 AM UTC

Hi Shirit,

Thanks for using Syncfusion Products.

The issue with Null reference exception occurs while exporting grouping grid to excel is fixed in our later versions. To solve this problem please migrate to our latest version. 

Regards,
Praveena.

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.

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

;