TileViewItem Visibility Binding

5 posts, 0 answers
  1. Kevin
    Kevin avatar
    1 posts
    Member since:
    May 2012

    Posted 25 May 2012 Link to this post

    I'm trying to bind the TileViewItem's visibility to a menu so that the user can filter which tiles to show, but the binding stops working after the first filter.

    With this line uncommented, it works perfectly the first time TileVisibility is changed, then crashes for subsequent changes.
    <telerik:ContainerBindingCollection x:Key="ContainerBindingCollection">
      <telerik:ContainerBinding PropertyName="TileState"
      Binding="{Binding ContentState, Mode=TwoWay, Converter={StaticResource tileStateConverter}}" />
      <!--<telerik:ContainerBinding PropertyName="Visibility" Binding="{Binding TileVisibility}" />-->

    <DataTemplate x:Key="TileViewItemTemplate"
        telerik:ContainerBinding.ContainerBindings="{StaticResource ContainerBindingCollection}">

    As a test, I also tried binding to the visibility of the content control, and this works. The content of the tiles is hidden or shown correctly based on the filter and never crashes.
    <DataTemplate x:Key="TileViewContentTemplate" >
      <telerik:RadFluidContentControl Visibility="{Binding TileVisibility}"
          ContentChangeMode="Manual" TransitionDuration="0:0:0"
          State="{Binding ContentState, Converter={StaticResource fluidContentStateConverter}}">

    What's wrong with the way I'm trying to bind the item visibility?


  2. Tina Stancheva
    Tina Stancheva avatar
    3299 posts

    Posted 30 May 2012 Link to this post

    Hi Kevin,

    Thank you for writing to us - we tested this case scenario and we can confirm that this is a bug. Basically when you simultaneously display collapsed items, while collapsing already displayed items, the RadTileView gets mixed up and throws this exception. This is why I logged it in our PITS where you can track the progress of the task..

    In the meantime you can try separating the two operations - displaying the collapsed items in one iteration and collapsing the displayed in other. This should get over the exception.

    However, while testing the scenario we also found that when the Visibility of the items is dynamically set, their positions aren't properly applied. So I logged this issue as a bug as well. And as a small sign of appreciation for bringing them to our attention, I updated your Telerik account.

    Tina Stancheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Prabhanjan
    Prabhanjan avatar
    1 posts
    Member since:
    Sep 2011

    Posted 12 Dec 2012 Link to this post


    I am having similar problem as explained below i,.e, dynamically setting the visibility of the RadTileViewItem, re-arranges its position.  I believe this issue was fixed in your release (2012 Q2 SP+ -- 2012.2.725 ) . I would like to download the dlls related to this fix as we are working with an older version 2012.2.0607.1050. And since my support licence expired about 3 months ago, I am unable to download any! Would it possible for you to help me this regard

  4. Siobhan McTear
    Siobhan McTear avatar
    16 posts
    Member since:
    May 2005

    Posted 28 Apr 2014 in reply to Tina Stancheva Link to this post

    We are affected by this issue - I can no longer find the PITS page provided - is there any update to this?
  5. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1251 posts

    Posted 30 Apr 2014 Link to this post

    Hi Siobhan,

    The reason for dropping the PITS is the fact that we migrated to a new and improved items handling system - it is our feedback portal. Now users are allowed to create Feature Requests and Bug Reports on their own. After login any item it goes in a section where we approve or decline it after careful evaluation.

    Regarding the earlier referenced PITS items -  I can confirm that they are already fixed in our code. The fixes are available in our latest official release. Please give it a try and let us know if you have any other questions.

    Pavel R. Pavlov
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top