Inconsistency with RadTileView Multi-Select when selecting items not visible

2 posts, 0 answers
  1. Andrew
    Andrew avatar
    104 posts
    Member since:
    May 2008

    Posted 16 Nov 2012 Link to this post

    I created a sample project illustrating what I am about to outline below. You can download it here.

    I have a RadTileView that uses the Extended SelectionMode for Virtualized items. If I select an item that is currently on the screen and then shift-select another 10 items all of which are also on the screen, and THEN single-click any of the selected items only that item remains selected. This is expected functionality. However, if I select an item that is currently on the screen and then shift-select another, say, 100 items, some of which are on screen and some of which aren't and then single-click one of the items that is currently on the screen, all items are deselected, even the one you just clicked.

    You will also notice in the MainPage.xaml.cs in the included program there is a TilesSelectionChanged event handler for the RadTileView. I am printing out the SelectionChangedEventArgs.AddedItems.Count and the SelectionChangedEventArgs.RemovedItems.Count properties.

    private void RadTileView_TilesSelectionChanged(object sender, SelectionChangedEventArgs e)
    {
        Console.WriteLine("e.AddedItems.Count = " + e.AddedItems.Count);
        Console.WriteLine("e.RemovedItems.Count = " + e.RemovedItems.Count);
    }

    These numbers are typically correct except in the last case I outlined, where, for me at least, AddedItems.Count is always zero, but RemovedItems.Count is inexplicably ALWAYS 2.

    I assume this is a bug. I searched the Public Issue Tracker but could not see anything related to my problem. Should I create one or can you guys do it for me?

    Thanks for all your help!

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1183 posts

    Posted 21 Nov 2012 Link to this post

    Hi Andrew,

    Thank you for bringing this issue to our attention. I logged it as a bug in our PITS and you can follow and vote for it here. Also I have updated your Telerik account for your feedback.

    Kind regards,
    Pavel R. Pavlov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top