Export database image to PDF

2 posts, 0 answers
  1. James
    James avatar
    60 posts
    Member since:
    Sep 2007

    Posted 30 Jan 2009 Link to this post


    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

  2. Georgi Krustev
    Georgi Krustev avatar
    3725 posts

    Posted 02 Feb 2009 Link to this post

    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.
Back to Top