SelectionChanged event not fired when the user manually enters a date

5 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 30 Aug 2009 Link to this post

    If the calendar is used to select a date, the SelectionChanged event is fired.  But, if the user manually changes the date by typing in the textbox, the SelectionChanged is not fired until the user leaves the control.  Similar to the standard TextBox control, I would have expected there to be a TextChanged event (could not find one for the DatePicker), or the SelectionChanged event would be fired when the user manually types in a date.  Any way that I can be notified that the date has been changed without the user leaving the control (like a TextBox)?
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 01 Sep 2009 Link to this post

    Hello GEB,

    Currently RadDatePicker doesn't support such a functionality. The main idea of the RadDatePicker is to provide a valid DateTime object. For instance, if you type 1, it is not possible for the RadDatePicker to parse it in a valid DateTime value. That's way a SelectionChanged event is not firing.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. Yolanda
    Yolanda avatar
    23 posts
    Member since:
    Aug 2010

    Posted 18 Jan 2011 Link to this post


    I know this is an old post, I have the same "problem" as GEB, so I was wondering if you were planning to change this behavior and launch the event when the user leaves the textBox in the DatePicker.

  4. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 20 Jan 2011 Link to this post

    Hi GEB,

    A solution for your case will be using the ParseDateTimeValue property. It will be triggered in every user input in the control.

    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
  5. Tyler
    Tyler avatar
    1 posts
    Member since:
    Apr 2013

    Posted 22 Apr 2013 Link to this post


    I was wondering if there was still no way to change the border from the blue edit mode to a red border with the focus still inside the datePicker box?
Back to Top