I have an UltraDateTimeEditor control that when the date value changes it does some time critical work. And I noticed that when the control is in dropdown state, meaning it is showing the calendar, when ever a month is selected or a day in the calendar is selected that the value changed event is called. I want to only have the value changed event called when the dropdown state is closed and not when it is opened. Can anyone tell me the cleanest way to suspend the value changed event when the control is in the dropdown state?
I think the control has as DroppedDown property to tell you when the drop down is dropped down. If not, then you could create a flag and set it in the BeforeDropDown and AfterCloseUp events to track when it is dropped down.
Hi
I think, you should use
private void ultraDateTimeEditor1_AfterCloseUp(object sender, EventArgs e) { }
Regards
Asad