Search code examples
vb.netdatetimepicker

DateTimePicker updates the value a bit too early


I'm using a DateTimePicker (.net).

Is there a way to update the value only when the calendar closes? Or is there a way to know when the calendar open/closes?

The DateTimePicker is bound to an object and this object check the dates and pop a message box when needed. When the user is browsing for a date, the message box appears. I only want this rule to execute when the date is chosen.

Thanks!


Solution

  • There's a CloseUp event. Does that help?