Cannot maximize/minimize when binding using Itemsource

2 posts, 0 answers
  1. Subarna Bandyopadhya
    Subarna Bandyopadhya avatar
    14 posts
    Member since:
    Apr 2005

    Posted 04 Apr 2011 Link to this post

    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.

     

  2. Zarko
    Admin
    Zarko avatar
    755 posts

    Posted 05 Apr 2011 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top