DateTimePicker.. How do detect final date selection instead ofDate_Changed Event

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AboutJAV@gmail.com

    DateTimePicker.. How do detect final date selection instead ofDate_Changed Event

    Hi,

    I am using a DateTimePicker control to allow the user to select a new
    date. At first, I use an event Date_Changed Event as well as
    databinding the control to a property. When the user click on the
    control and the calender drops down, the new selected date will invoke
    either the databinding or event handler method, which trigger another
    method call.

    The problem:

    When the calendar drops down and the user clicks on the left or right
    arrow button to change the month, property set call or event handlers
    is constantly invoked, which will call my other methods.

    I really want to detect when the user make a final selection on the
    date, not when he scrolling through the months. This call the event
    too many time.

    Any help is appreciated.
Working...