This is a migrated thread and some comments may be shown as answers.

image binding error

1 Answer 31 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
hashiny
Top achievements
Rank 1
hashiny asked on 19 Nov 2010, 07:33 AM
hai sir,

   i have started using telerik reporting in our website , when we bind an image  to a picture box ,in case the image is missing ,the error is shown as
 "An error has occurred while processing PictureBox 'pictureBox1':
Could not find file '\\jitserver\digitalfilesfmsdemo\buyimgpath\AKM-INO00107-6136-1.JPG'."
on the picture box, it does not look nice when the report is generated.
         please give me a solution where when the binding is not found , how to show an alternative image which says no image found.

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 22 Nov 2010, 05:38 PM
Hi hashiny,

You can use the IsNull and IIf built-in functions to handle such cases.

Sincerely yours,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
hashiny
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or