Hide picturebox if image is not found

2 posts, 0 answers
  1. Arun Kumar
    Arun Kumar avatar
    60 posts
    Member since:
    Nov 2009

    Posted 20 Jan 2013 Link to this post

    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?
  2. Steve
    Steve avatar
    10941 posts

    Posted 24 Jan 2013 Link to this post

    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,
    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!

Back to Top