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

Cannot maximize/minimize when binding using Itemsource

1 Answer 65 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Subarna Bandyopadhya
Top achievements
Rank 1
Subarna Bandyopadhya asked on 04 Apr 2011, 10:09 AM
Hi, I am using the tileview control that will bound to items at runtime.
When the tileview contains explicit tileitems like  shown below I am able to maximize / minimize the tiles and also have a scrool bar as expected.

<telerik:RadTileView Name="radTileView1" MinimizedRowHeight="200" MinimizedColumnWidth ="200" >

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

<telerik:RadTileViewItem></telerik:RadTileViewItem>

 

 

 

</telerik:RadTileView>

However , when I bind the tileview to using itemsource to a List of items like shown below, I am unable to maximize, minimize the tiles. What am I doing wrong ?

 

 

 

 

<telerik:RadTileView Name="radTileView1" ItemsSource="{Binding}"

 

 

 

 

MinimizedRowHeight="200" MinimizedColumnWidth ="200" >

 

 

 

 

 

</telerik:RadTileView>

Note: The user control that houses the tileview control has it's data context set to the list .The tileview does show the correct number of tiles corresponding to the number of items in the list, but does not let me maximize or minimize.

 

1 Answer, 1 is accepted

Sort by
0
Zarko
Telerik team
answered on 05 Apr 2011, 12:40 PM
Hello Subarna Bandyopadhya,

 Could you please tell me if you've changed the default template of the RadTileView or the RadTileViewItem because I tried your scenario and everything looks fine here? Could you please also check if you haven't set the MaximizeMode to "Zero" by mistake ?
I've attached the sample project that I used for testing so you could examine it and see if it is of any help to you.

All the best,
Zarko
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TileView
Asked by
Subarna Bandyopadhya
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Share this question
or