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.
Syncfusion Feedback

Error in Export from grid

Thread ID:

Created:

Updated:

Platform:

Replies:

123887 Apr 29,2016 03:35 AM May 2,2016 09:17 AM ASP.NET Web Forms 1
loading
Tags: Grid
satheyaraaj
Asked On April 29, 2016 03:35 AM

hi,

i got error in export to excel from grid. when click excel button i got below error

"Object reference not set to an instance of an object."

plz help me

Jayaprakash Kamaraj [Syncfusion]
Replied On May 2, 2016 09:17 AM

Hi Satheyaraaj, 

Thanks for contacting Syncfusion support. 

We were unable to reproduce the issue. But we suspect that the issue occurs when a column field is not defined in the Grid dataSource and obtained as null value, and hence throws a null exception.  
Refer to the following knowledgebase document.

https://www.syncfusion.com/kb/3018/Null-Exception-while-exporting 

 If you still face the issue, share the following information to find the cause of the issue. 
1.       Client side and server side full code example. 
2.       Are you performing any Grid operations like filtering\searching before exporting? 
3.       Essential studio version. 
4.       An issue reproducing sample if possible or sample hosted link or replicate the issue in the following sample. 
 
Regards, 
 
Jayaprakash K. 


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

;