Picture Box and Data URI

1 Answer 13 Views
Report Designer (standalone) Report Viewer - Blazor
Robert
Top achievements
Rank 1
Robert asked on 10 Apr 2025, 02:01 AM
I am generating an image of a highly complex and customized report as an image. From that image I am then generating a data uri to pass off to another report as part of its JSON datasource. The property that contains the data uri is being set to the value property of a picture box (see image for picture box settings). However, no image ever renders in the report. I've stepped through the code and confirmed the data uri is valid and I can load the image that is generated using the data uri in my browser. Is there some additional configuration I need to do to get this working with the picture box element?

1 Answer, 1 is accepted

Sort by
0
Ivet
Telerik team
answered on 14 Apr 2025, 02:12 PM

Hello Robert,

Thank you for the screenshot.

The URI should work correctly. From the image, I see that you are using binding for the PictureBox, so I suspect the issue might be that the value is being overridden. To be sure, please test displaying the URI from the field in a TextBox to see if it is correctly passed to the report. If it works there, the issue is likely with the binding.

To help you better, could you send me your report with working data so I can test it and try to find a solution to the issue? I see that you have posted in our forum about this. If you are hesitant to send your report and data here, you can open a ticket and provide the details there.

Looking forward to your next reply.

Regards,
Ivet
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
Report Designer (standalone) Report Viewer - Blazor
Asked by
Robert
Top achievements
Rank 1
Answers by
Ivet
Telerik team
Share this question
or