Surface 2.0: WPF Calendar / Telerik RadCalendar works with mouse input but not touch input
-
Saturday, February 18, 2012 5:35 AM
I'm developing a Surface Application and one of the functions is to allow a user to select a date to make a booking. I've tried using the WPF Calendar and the Telerik RadCalendar, but whenever I use the Surface Input Simulator to simulate touching a date on the calendar, the date is highlighted when I hover over but when I "touch down" nothing happens, no event is triggered. However the calendars work fine with the mouse.
Please help!
All Replies
-
Saturday, February 18, 2012 10:33 AM
Hi, some time ago i tryed some components to be reused in Surface touch enabled projects and unfortunatelly at last all doesn't nativelly supports touch.
For telerik I know that for some licensing they sell the source code of the control too (http://www.telerik.com/purchase.aspx), so you can access to the source of the telerik control that you whant to use and make it touch enabled.
Now some NUI consideration.
I had your same problem and, about me, the Windows calendar control is not appropriate in a NUI contex I prefer and strongly suggest to use the approach usend in WP7 for that.
something like
http://www.telerik.com/products/windows-phone/overview/all-controls.aspx#calendar
http://www.telerik.com/products/windows-phone/overview/all-controls.aspx#datepicker
Of course there are the effort of rewrite that control for WPF/Surface but you will have a really good user experience and also Natural.
hope it helps
Gian Paolo Santopaolo
Founder and CTO Software Lab
@gsantopaolo
softwarelab.it - digitalshopwindow.com - thedarksideof.net
Disclaimer: This post is provided "AS IS" with no warranties, and confer no rights.- Edited by Gian Paolo Santopaolo - Software LabMVP Saturday, February 18, 2012 10:39 AM grammar
- Proposed As Answer by Gian Paolo Santopaolo - Software LabMVP Saturday, February 18, 2012 10:39 AM
- Marked As Answer by Luis Cabrera - SurfaceModerator Tuesday, March 13, 2012 8:25 PM
-
Saturday, February 18, 2012 10:34 AM
Supporting Touch and Mouse events are two different things. Apparently the control that you are using only supports mouse events. The Surface simulator simulates touch eventes. You either need to implement touch support yourself, or need a diferent control.
Bye,
-bart-
Bart Roozendaal, Sevensteps Microsoft MVP for Surface
-
Saturday, March 03, 2012 2:02 PM
I'm really happy that my NUI consideration on the calendar / date time control were put into practice by the new Surface MVP Johanna Rowe as you can see in this video at minute 2.28. :)
Gian Paolo Santopaolo
Founder and CTO Software Lab
@gsantopaolo
softwarelab.it - digitalshopwindow.com - thedarksideof.net
Disclaimer: This post is provided "AS IS" with no warranties, and confer no rights.

