Unplanned
Last Updated: 23 Jan 2025 11:54 by ADMIN
J.T.
Created on: 16 Jan 2025 15:37
Type: Feature Request
0
Custom image error message
The newly added NoDataMessage for the image item is nice for preserving area and not creating strange report sizes, but I would like to be able to pass it the error message that displays when not using the new NoDataMessage feature. Having to switch between the two for development and production is a hassle. 
Combining the two would be ideal.

1 comment
ADMIN
Momchil
Posted on: 23 Jan 2025 11:54

Hello Johnathon,

Thank you for your feedback!

The functionality you described seems useful indeed and I have marked it as approved.

We think that taking a more general approach, such as making the error messages of report items accessible through the expression engine will bring value even for use cases outside of the PictureBox item's NoDataMessage.

For example, you should be able to write an expression for the NoDataMessage property similar to the following snippet.

= IIF(ReportItem.ErrorMessage = '', 'no error', 'An error occurred: ' + ReportItem.ErrorMessage)

The expression checks if the ErrorMessage string property has its value set, and if it does, will concatenate it in a user-friendly message output in the PictureBox.

At this stage, I cannot provide any estimates about when the functionality will be available as it needs to be planned first but will be glad to hear from you if you have other comments or concerns about the feature.

Best Regards,
Momchil
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.