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

Hide picturebox if image is not found

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Arun Kumar
Top achievements
Rank 2
Arun Kumar asked on 20 Jan 2013, 09:27 AM
I want to hide picturebox if image is not found on url. By default it is showing error message in red. How do I do that?

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 24 Jan 2013, 09:30 AM
Hello Arun,

There is no out of the box functionality for such case if that is what you ask for. You would have to either hook up to the ItemDataBinding event of the PictureBox or create an User Function and check whether the image is available and based on that hide the PictureBox.

Kind regards,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
Arun Kumar
Top achievements
Rank 2
Answers by
Steve
Telerik team
Share this question
or