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

Stream image source causes coverflow to be static

1 Answer 34 Views
CoverFlow
This is a migrated thread and some comments may be shown as answers.
Aaron
Top achievements
Rank 1
Aaron asked on 06 Jun 2011, 08:47 PM
I'm using stream images and an ItemTemplate to display thumbnails for documents retrieved from a service. What I have is this:

<Grid Height="150">
  <telerik:RadCoverFlow ItemsSource="{Binding Thumbnails}" x:Name="DocumentCoverFlow" OffsetY="25"
        CameraViewpoint="Center" ItemScale="0.75" RotationY="60" ReflectionHeight="0.25" ReflectionOpacity="3"
        DistanceBetweenItems="20" DistanceFromSelectedItem="-5" >
    <telerik:RadCoverFlow.ItemTemplate>
      <DataTemplate>
        <Image Source="{Binding}" Width="100" Height="100" Stretch="Uniform" telerik:RadCoverFlow.EnableLoadNotification="False"></Image>
      </DataTemplate>
    </telerik:RadCoverFlow.ItemTemplate>
  </telerik:RadCoverFlow>
</Grid>

All my images show up and it looks great. The problem I'm having is that clicking on various items to the left and the right doesn't change the selection. Once it's loaded it might as well be a static rendering because it does absolutely nothing. Any idea what I'm missing?

1 Answer, 1 is accepted

Sort by
0
Aaron
Top achievements
Rank 1
answered on 06 Jun 2011, 09:05 PM
Nevermind, it appears that in my thumbnail generation code I had a scope issue. I was unintentionally reusing the object that created the image source and it was generating duplicate thumbnails due to its asynchronous nature. I'm not sure how that causes the CoverFlow to not want to select items but when I fixed the issue of getting duplicate thumbnails the navigation issue disappeared completely and it works exactly how it should.
Tags
CoverFlow
Asked by
Aaron
Top achievements
Rank 1
Answers by
Aaron
Top achievements
Rank 1
Share this question
or