TileList IsSelected bugs?

4 posts, 0 answers
  1. Kuba
    Kuba avatar
    16 posts
    Member since:
    Jan 2013

    Posted 15 Mar 2013 Link to this post

    Hello Telerik Team,

    i know that TileList is under beta version but i decided to include it in my commercial project,
    im affraid i discovered some issues which im not able to resolve,

    im attaching small sample project to reproduce potencial bugs,

    bug 1 steps

    1. run project
    2. you should see 2 tiles which the first is selected
    3. just select the second one
    4. my expected behavior is that tilelist will automaticaly handle and unselect first tile, but result is quite strange for me, both tiles are selected

    bug 2 steps

    follow first 3 step for previous issue till step where you should both tiles selected,

    1. now press UNSELLECT TILES button
    2. now try to select the second one (green) tile, its impossible to select that tile until i will select first one again

    both issues i suppose are related to bad handling some internal isselected flag,
    this should be quite easy to fix,

    please note that im gonna use this tilelist in my commercial project so i will be gratefull for any workaround or just new nightly build,

    also there is some problems with tilelist with arranging tiles after changing size parent, if you need i can prepare repro project,

    thanks in advance for any (fast :) ) help

    im using 2013.1.220.1050 version
  2. Kuba
    Kuba avatar
    16 posts
    Member since:
    Jan 2013

    Posted 15 Mar 2013 Link to this post

    i just realized that rar and zip attachment are not allowed, so below you will find code for xaml and cs
    <UserControl x:Class="SilverlightApplication6.MainPage"
        d:DesignHeight="300" d:DesignWidth="400">
                <telerik:Tile Name="Tile1" Background="Red" IsSelected="True"/>
                <telerik:Tile Name="Tile2" Background="Green"/>
            <Button Content="UnselectTiles" Click="Button_Click"/>

    and cs:

    usingZWRpdG9yUmVwbHkkZGlhbG9nT3BlbmVyolor: #000000;">System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Net;
    using System.Windows;
    using System.Windows.Controls;
    using System.Windows.Documents;
    using System.Windows.Input;
    using System.Windows.Media;
    using System.Windows.Media.Animation;
    using System.Windows.Shapes;
    namespace SilverlightApplication6
        public partial class MainPage : UserControl
            public MainPage()
            private void Button_Click(object sender, RoutedEventArgs e)
                Tile1.IsSelected = false;
                Tile2.IsSelected = false;
  3. Kuba
    Kuba avatar
    16 posts
    Member since:
    Jan 2013

    Posted 15 Mar 2013 Link to this post

    ok i found workaround,

    an issue is related to SelectedItemCollection, IsSelected property manages this collection incorrectly,

    if i manualy remove Tile from SelectedItemCollection RadTileList then TileList selection behavior is correct,

    but i'm still thinking that IsSelected property should manage this collection automatically,
  4. Maya
    Maya avatar
    4062 posts

    Posted 18 Mar 2013 Link to this post

    Hi Kuba,

    Indeed, this behavior is anything but expected. I will investigate the case and let you know once I have more information on the topic.
    Thank you for reporting it. I have updated your telerik points. 

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top