Turn off Hover selection on Silverlight RadCalendar During SelectionMode Extended

2 posts, 0 answers
  1. David
    David avatar
    2 posts
    Member since:
    Jan 2014

    Posted 27 Jan 2014 Link to this post

    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" />
  2. Kalin
    Admin
    Kalin avatar
    1209 posts

    Posted 29 Jan 2014 Link to this post

    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 >>
  3. DevCraft banner
Back to Top