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.
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.