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

Exception while exporting grouped grid to excel

Thread ID:





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


I'm using syncfusion version:

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. 



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

or the page will be automatically redirected to 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