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. Image for the cookie policy date
close icon

Error in Export from grid

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

1 Reply

JK Jayaprakash Kamaraj Syncfusion Team May 2, 2016 01:17 PM UTC

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. 


Loader.
Live Chat Icon For mobile
Up arrow icon