Hi, In my current reports, I need to retrieve the client's logo which was stored from our PostgreSQL database as BLOB and this logo will change automatically depends on user. Any reference on how to do this?
1 Answer, 1 is accepted
0
Todor
Telerik team
answered on 10 Oct 2022, 07:30 AM
Hello Raniel,
When the image value comes from a database, you may use a List in which DataSource references the corresponding database field. You may put a single PictureBox item in the List to display the image. You need to use an Expression like "=Fields.ImageFieldName" for the Value of the PictureBox.
If the image is kept as SVG or Base64 string, you may use ReportParameter to set the Value of a PictureBox that is not in a List. This way you may avoid the additional data item/List. This may not be possible if the image is byte[] though, as the parameters support only Boolean, DateTime, Integer, Float, and String types.