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

Multi selection

5 Answers 115 Views
TileView
This is a migrated thread and some comments may be shown as answers.
Jeroen
Top achievements
Rank 1
Jeroen asked on 16 May 2011, 10:16 AM
Dear all,

We would like to use the TileView as an alternative to a Grid View. When doing so, we also want the option of selecting multiple tiles, and than perform an action on these selected tiles. For instance use a context menu for this.

Is there any built-in support to select multiple tiles or are you planning on doing this in the near future? Would save me a lot of trouble!

Regards
Jeroen

5 Answers, 1 is accepted

Sort by
0
Accepted
Zarko
Telerik team
answered on 17 May 2011, 08:07 AM
Hi Jeroen,
From the 2011.1.0315 the RadTileView have a build-in selection - you should read this blog post and examine the attached project.
If you have further questions feel free to ask.

Greetings,
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
0
Jeroen
Top achievements
Rank 1
answered on 17 May 2011, 08:45 AM
You guys (and girls) rule!!!!!!!!!
Thanx! Works like a charm, so far.
0
Trude
Top achievements
Rank 2
answered on 16 Jun 2011, 09:43 PM
Is there an easy way to change the behaviour of the selection mode "single". As it is now the selected state toggles; what I want is to the selected state to hold if I click one or more times on a tile.
0
Trude
Top achievements
Rank 2
answered on 16 Jun 2011, 10:24 PM

As a temporary workaround I used the following code:

 

Private Sub RadTileView_PreviewTileSelectionChanged(sender As System.Object, e As Telerik.Windows.Controls.SelectionChangedEventArgs)
 
    If e.RemovedItems.Count = 0 Then Exit Sub
 
    Dim _tileview As RadTileView = sender
    Dim _cur_tile As RadTileViewItem = _tileview.SelectedItem
    Dim _rem_tile As RadTileViewItem = e.RemovedItems.Item(0)
 
    If _rem_tile.Header = _cur_tile.Header Then e.Handled = True
 
End Sub


Is there an easier way? Maybe there should be a selection mode called SingleNoToggle?

 

 

0
Zarko
Telerik team
answered on 17 Jun 2011, 10:47 AM
Hello Jorn,
To handle the PreviewTileSelectionChanged is the right way to achieve your desired functionality. I added feature request under the name "TileView: Add SingleNoToggle selection mode" in our PITS and it will be available for tracking and voting tomorrow the latest.
If you have more questions feel free to ask.

Best wishes,
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
Tags
TileView
Asked by
Jeroen
Top achievements
Rank 1
Answers by
Zarko
Telerik team
Jeroen
Top achievements
Rank 1
Trude
Top achievements
Rank 2
Share this question
or