You can refer to this forum post on the same topic - Picturebox with IIF Condition and relative path images
. Basically, you can use IIF statement to check if the field has value then the required picture would be rendered, otherwise a default picture would be rendered. For example:
this.pictureBox1.Value = "=IIf(IsNull(Fields.DataItemValue, "") = "", \"default.png\", Fields.SubsequentImage)";
This means that if the field is containing a Null
value, will be replaced with default.png
, otherwise it will render the value of an subsequent image.
In case of further issues, open new support ticket and send us the report definition for local testing.
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