We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Scrambled tile items when changing the ItemsSource property

Thread ID:

Created:

Updated:

Platform:

Replies:

118100 Jan 31,2015 12:20 PM UTC Feb 2,2015 05:52 PM UTC WPF 1
loading
Tags: TileViewControl
Gary Wadden
Asked On January 31, 2015 12:20 PM UTC

When using the following xaml code for the TileListView control, changing the ItemsSource contents results in the second instance returning scrambled tile items in the control.  The attachment contains the results from the 1st and 2nd ItemsSource values.  The ItemsSource objects are ObservableCollections of the same class with different content.  Any attempt to select a different ItemsSource, including the original, result in scrambled results.

		<syncfusion:TileViewControl x:Name="EpisodesTileView"
					ItemsSource="{Binding SelectedSeason.Episodes}"											
					MinimizedItemsPercentage="60"
					MinimizedItemsOrientation="Left"
					ClickHeaderToMaximize="True">
                    <syncfusion:TileViewControl.HeaderTemplate>
                        <DataTemplate>
                            <StackPanel Orientation="Horizontal">
                                <TextBlock Text="Episode: " />
                                <TextBlock Text="{Binding EpisodeNumberThisSeason}" />
                                <TextBlock Text="{Binding Title}" Margin="10"/>
                            </StackPanel>
                        </DataTemplate>
                    </syncfusion:TileViewControl.HeaderTemplate>
                    <syncfusion:TileViewControl.ItemTemplate>
                        <DataTemplate>
                            <Grid Margin="10">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="Auto"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Image Grid.Column="0" Source="{Binding Image}" Stretch="None" />
                                <TextBlock Text="{Binding EpisodeNumber}" Grid.Row="1"/>
                            </Grid>
                        </DataTemplate>
                    </syncfusion:TileViewControl.ItemTemplate>
                </syncfusion:TileViewControl>
Any advice much appreciated.

Attachment: tilelistview_70fbd996.zip

Mariappan S [Syncfusion]
Replied On February 2, 2015 05:52 PM UTC

Hi Gary,

We are able to reproduce the issue "TileViewItem display wrong when changing the ItemsSource" and it is fixed internally. This fix will be included in our main release Vol 1 2015 which will be available in mid of March2015.

Please let us know if you need further assistance.

Regards,

Mariappan S.



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;