Object Reference not set trying to export pdf document

Using vb.net and example from Syncfusion. The data is bound to the grid but I am getting object reference not set.

Also, is it possible to add text (or a label) next to the PDF logo above the grid ?

Any advice would be helpful !

Thanks, John


Attachment: PDF_Export_Error_8658f040.zip


1 Reply

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team August 10, 2022 04:05 PM UTC

Hi John Fleet,


Query#:- The data is bound to the grid but I am getting object reference not set.

The reported problem occurs when the columns bound to the Grid are not defined in the Grid dataSource. We have already discussed about  System.NullReferenceException: Object reference not set to an instance of an object  in our Syncfusion Knowledge base.

For your convenience please find the KB in following link.

https://www.syncfusion.com/kb/3018/null-exception-while-exporting


After following the above still faced issue, Share us the following details


  1. Complete Grid code details(Both client and server code).
  2. Grid model class.
  3. Complete StackTrace of the Exception details.
  4. Product version details.
  5. Screenshot/Video demo to replicate the issue.

       

Regards,

Farveen sulthana T


Loader.
Up arrow icon