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

ReportViewer doesn't show images from database field

Hi, 

I'm trying to show an image the path that comes from a table field. It works when setting a static url, but when setting the field value it doesn't show anything.

Thank You.

3 Replies

RK Ravi Kumar Gurunathan Syncfusion Team November 26, 2015 12:47 PM UTC

Hi Liviu,

Thanks for contacting Syncfusion support.

We are unable to reproduce the mentioned issue. The issue might have occurred due to usage of unsupported expression in report. However, we have prepared a sample and it can be downloaded from the below location,

Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageTest1138347517.zip

If the issue still persist, then share your used expression.

Thanks,
Ravi kumar G


LI Liviu November 26, 2015 01:44 PM UTC

Thank you for the reply.
Unfortunately I need to use an external image source of the image control in the report, and the values are taken from the field of the dataset.
Try to change the dataset query to this:
SELECT
  ImageTest.ID
  ,ImageTest.Name
  ,ImageTest.Photo
,'http://dummyimage.com/200x100/292929/e3e3e3&text=DummyText' as imageurl
FROM
  ImageTest

and set the image source as external.


Thank you.


RK Ravi Kumar Gurunathan Syncfusion Team November 27, 2015 05:59 AM UTC

Hi Liviu,

We were able to reproduce the mentioned issue and we have already fixed this issue at our end. A support incident to get the patch for this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Ravi Kumar G

Loader.
Live Chat Icon For mobile
Up arrow icon