Images is not displayed

2 posts, 0 answers
  1. Magnus Modig
    Magnus Modig avatar
    4 posts
    Member since:
    Jan 2008

    Posted 27 Mar 2009 Link to this post


    I have a carousel that is filled with a list of images like this..

    Dim MyListOfImages As New List(Of _Images)


    MyListOfImages.Add( .....

    RadCarousel1.ItemsSource = MyListOfImages

    But there are no images displayed, only images with the current image path. Why is that, and how do I fix this?

  2. Hristo Deshev
    Hristo Deshev avatar
    559 posts

    Posted 27 Mar 2009 Link to this post

    Hello Magnus Modig,

    I just answered your question in the support ticket you opened. I am posting it here just in case somebody has the same problem.

    The ListOfImages turned out to contain file paths. The best way to display the images is to modify the CarouselItem template with a style similar to the one below:

        <Style TargetType="telerik:CarouselItem"
            <Setter Property="Template"
                    <ControlTemplate TargetType="telerik:CarouselItem"
                        <Image Source="{Binding Data.FileName}"></Image> 

    Hristo Deshev
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  3. DevCraft R3 2016 release webinar banner
Back to Top