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.

Exception while exporting grouped grid to excel

Thread ID:





114708 Dec 5,2013 03:52 AM Dec 11,2013 01:46 AM Windows Forms 1
Tags: GridControl
Asked On December 5, 2013 03:52 AM


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 01:46 AM

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.

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.