A
alex
I'm running into a problem disposing the datetimepicker control. I
have a datetimepicker on a form and that form needs to 'validate' at
any given time. To do this I have to close all editing controls. The
problem is that if the drop down from the datetimepicker is open, then
calling 'dispose' on the base of the datetimepicker control results in
the month calendar display being orphaned in place. Then if you click
on it again it throws an exception. Is there some other way I'm
supposed to be programmatically closing the DateTimePicker control?
have a datetimepicker on a form and that form needs to 'validate' at
any given time. To do this I have to close all editing controls. The
problem is that if the drop down from the datetimepicker is open, then
calling 'dispose' on the base of the datetimepicker control results in
the month calendar display being orphaned in place. Then if you click
on it again it throws an exception. Is there some other way I'm
supposed to be programmatically closing the DateTimePicker control?