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

Turn off Hover selection on Silverlight RadCalendar During SelectionMode Extended

1 Answer 23 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 27 Jan 2014, 04:43 PM
I am trying to initiate an operation when the user selects a date range, which I am able to do by working with the SelectionChanged event. But I get erroneous selections due to the user moving the mouse (hovering) over other dates which causes the control to report those date(s) as `Selected dates`. The control is in `Extended` selection mode. How does one turn off the selection of hovering actions and just allow button click selections.

-Or- Is there an ability to clear a selection?

            <telerik:RadCalendar Name="rcDateRangeSelector"
                                 Grid.Row="1"
                                 Grid.Column="2"
                                 Rows="3"
                                 Columns="1"
                                 Orientation="Vertical"
                                 SelectionMode="Extended"
                                 IsTodayHighlighted="False"
                                 HeaderVisibility="Visible"
                                 ViewsHeaderVisibility="Visible"
                                 VerticalAlignment="Top"
                                 SelectionChanged="RadCalendar_SelectionChanged"
                                 Culture="en-US" />

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 29 Jan 2014, 11:04 AM
Hi David,

I was not able to reproduce the described behavior - the SelectionChanged event wasn't fired when moving the mouse cursor over the dates. Could you please share some more details on the exact scenario- what version of the controls you are using? I can also suggest you the following example from our blogs which demonstrates how to implement SelectedDates attached property for the Calendar - it might help you to achieve the required:
http://blogs.telerik.com/xamlteam/posts/11-06-13/using-the-multiple-selection-of-the-radcalendar-control-for-silverlight-and-wpf-with-mvvm.aspx

Hope this helps. If you have any further questions let us know.

Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Calendar
Asked by
David
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or