Declined
Last Updated: 18 Nov 2014 15:56 by ADMIN
thomas
Created on: 12 Nov 2014 23:23
Category: UI for WPF
Type: Bug Report
0
Custom button inside a tile of RadTileList don't react on touch properly
We use successor of System.Windows.Controls.Button in the tile. 
The button's Command property is bound with ICommand implementation instance. It works ok on mouse click but doesn't work on touch. On touch it only gets focus but command doesn't executed.

We have not tried with onClick handler because we use MVVM.

Sample project to reproduce the problem is attached.
Attached Files:
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
1 comment
ADMIN
Maya
Posted on: 18 Nov 2014 13:25
Hi Thomas,

Actually, this is a kind of an expected behavior since RadTileList handles the touch events. If you want the touch manager to be aware of the existence of the buttons, you can set IsTouchHitTestVisible:

<Button telerik:TouchManager.IsTouchHitTestVisible ="False"
								
							Content="Test"
							Command="{Binding TestCommand, Mode=OneTime}"
							CommandParameter="{Binding}"
							/>


Best regards, 
Maya, @Telerik.