SelectionChanged Problem

6 posts, 0 answers
  1. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 03 Dec 2010 Link to this post

    Hi

    I need to select several day from my calendar.
    i hit the leftMouseKey down on the first selected day.
    Then i select the next days.
    Then i leave the leftMouseKey up.

    The problem is that the SelectionChanged event was used for each day.

    Is there a way to execute only one event and get the calendar.SelectedDays into it ?

    Thanks

    Mathieu
  2. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 05 Dec 2010 Link to this post

    Hi


    So, i would like to use a leftMouseKeyUp event but it doesn't work.
    Have you got new about this ?

    Thanks

    Mathieu
  3. DevCraft banner
  4. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 08 Dec 2010 Link to this post

    Hello Forest,

    I can suggest attaching an event handler to the MouseLeftButtonUp event and when it appears you use the calendar.SelectedDates collection to fetch all the selected dates.

    Greetings,
    Kaloyan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  5. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 13 Dec 2010 Link to this post

    Hello

    But the MouseLeftButtonUp event handler doesn't work on a calendarDay button.

    Mathieu
  6. Forest
    Forest avatar
    72 posts
    Member since:
    Aug 2010

    Posted 13 Dec 2010 Link to this post

    Hello

    But the MouseLeftButtonUp event handler doesn't work on a calendarDay button.

    Mathieu
  7. Kaloyan
    Admin
    Kaloyan avatar
    920 posts

    Posted 15 Dec 2010 Link to this post

    Hello Forest,

    Can you try setting the event handler to the calendar itself and try it again.

    Regards,
    Kaloyan
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
Back to Top
DevCraft banner