From the Error event you cannot access the record pointer or another data field (PrimaryKey) value.
I would suggest a workaround to get the list of PrimaryKeys
for which the corresponding images throw exception into a Log file.
You can use a TextBox to display the PrimaryKey
, and a PictureBox to display the image.
The Value of the PrimaryKey could be set as an User Function
that gets as an argument the PrimaryKey
value and returns it back. Its purpose is to Log the PrimaryKey
value into a dedicated Log file.
When the Report Error event is raised, you can log a text indicating the fail into the same Log file. This way after each PrimaryKey
with failed image there would be a text indicating the fail.
I have attached a sample project demonstrating the approach.
Note that Telerik.Reporting.PictureBox
uses GDI+ to display an image, but is not related to the Windows Form PictureBox control.
We would like to investigate image(s) failing to render in Telerik.Reporting.PictureBox
We would appreciate it if you sent us one or more of them. If you wish, you can open a support ticket and attach it/them. It would be necessary to compress the file(s), since our ticketing system does not allow .tiff
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items