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

Inconsistency with RadTileView Multi-Select when selecting items not visible

1 Answer 50 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 16 Nov 2012, 04:39 PM
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!

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 21 Nov 2012, 09:26 AM
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.

Tags
TileView
Asked by
Andrew
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or