This is a migrated thread and some comments may be shown as answers.

Export database image to PDF

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 30 Jan 2009, 08:42 AM
Hi,

I currently have a grid of which one field is bound to an image field in a database table. I use the ItemDataBound event to actually display the image.

I can see from your "export grid to pdf" example, you have exported the images, but they are automatically bound and displayed as they are files on disk.

How can I get the PDF to show the images that are in the grid?

thanks in advance

Bobby

1 Answer, 1 is accepted

Sort by
0
Georgi Krustev
Telerik team
answered on 02 Feb 2009, 05:56 PM
Hi Bobby,

To attain the functionality the image which is bound to the RadGrid column should have a relative or absolute URL in order the resolver of the PDF exporter to localize the images and to export them to the PDF. In any other case this resolver could not know whether the exported element is an image.

If the problem persists, feel free to open a support ticket on this manner and send us a workable test project. Thus I will do my best to help you further.

Best regards,
Georgi Krustev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
James
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Share this question
or