Show default image

2 posts, 0 answers
  1. Sridhar
    Sridhar avatar
    9 posts
    Member since:
    Sep 2011

    Posted 25 May 2012 Link to this post

    Hi All,

      I use CoverFlow control in a Silverlight project that uses the a style to define the content of each coverflow item, which are image + some text data, similar to the way done in the Telerik CRM demo.

    Now in the style, I have an image control which has a FallbackValue defined, however when the image loading fails (mainly because the URL does not give back the image since there is no image on the server, the fallback image is not shown.

    Is there a way in which I could show default image when the actual image loading fails?

    Regards
    Sridhar
  2. Dani
    Admin
    Dani avatar
    848 posts

    Posted 30 May 2012 Link to this post

    Hi Sridhar,

    By default RadCoverFlow contains an error image which is shown in the InvalidContent VisualState. Are you able to see that image? You could replace with your own image, if you edit the style for the RadCoverFlowItem.

    Basically, if a content image is missing, you should get something similar to the attached.

    Greetings,
    Dani
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
  3. DevCraft banner
Back to Top