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

TileType - Updating source

1 Answer 36 Views
TileList
This is a migrated thread and some comments may be shown as answers.
Justin Lee
Top achievements
Rank 1
Justin Lee asked on 12 May 2015, 07:43 PM

Hello,

I'm databinding a list of items to a TileList.  I'm databinding the size of the tiles (TileType) using a converter like so:

<Style TargetType="telerik:Tile">
     <Setter Property="TileType" Value="{Binding Path=ViewModel.SizeIndex, Converter={StaticResource tileSizeConverter}}" />
</Style>

This is working fine.  However, I have a context menu on the tiles that allows the user to increase the size of the tiles.  When selected, I increase the "SizeIndex" property in the viewmodel, however the UI does not update to the new size until the user resizes the browser window, or rearranges the tiles, etc.  Basically when something causes to the tilelist to redraw.

Right now, in the view model I am resetting the Items collection to a new collection, and populating it with the items from the old collection.  This causes the TileLIst to completely rebind and redraw -- but I'd prefer to not do this kludgy workaround. 

Thoughts?

 

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 13 May 2015, 09:08 AM
Hi Justin,

Actually, we are aware of this issue and it has been logged into our internal system. I made the item visible  so that you can follow its progress and vote for it, thus raising its priority.

Regards,
Maya
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
TileList
Asked by
Justin Lee
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or