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.

PdfLigthTable, ColumnName raises exception

Thread ID:

Created:

Updated:

Platform:

Replies:

93120 Feb 24,2010 11:47 AM Mar 11,2010 12:50 AM ASP.NET Web Forms (Classic) 3
loading
Tags: PDF
Administrator [Syncfusion]
Asked On February 24, 2010 11:47 AM

Hi,

I have some trouble with your PdfLightTable, I'm trying to add the table header, but I have got a NullReferenceException from the Draw() method of the table.
If I do not set the names of the columns, no exception is raised.

Code and log attached, or you can found it here: http://pastie.org/840702

I am using your Syncfusion Essential Studio 7.4.0.20, C# 2.0.

Am I doing something wrong?
Thanks.




table_header_error_4dec85a5.zip

Pravin Joshua D [Syncfusion]
Replied On March 3, 2010 12:02 AM

Hi Sebastien,

Thank you for using Essential PDF.

We are able to see the issue while passing string array as source for the PDFLightTable. This issue is not reproduced while passing the data source as DataTable. Could please try it as a workaround. We have also modified your sample.

Sample:

http://files.syncfusion.com/samples/PDF.Windows/LightTableDemo.zip

Please try this and let us know if you have any questions.

Regards,
Pravin Joshua D

Administrator [Syncfusion]
Replied On March 9, 2010 11:16 AM

Hi,

Works as expected with DataTable.
Thanks.

Pravin Joshua D [Syncfusion]
Replied On March 11, 2010 12:50 AM

Hi Sebastien,

We are glad to hear that the issue has been resolved. Please let us know if you have any other questions.

Regards,
Pravin Joshua D

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.

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.

;