Hi,
I am using Infragistics 2009. In one of my form, I have UltraDateTimeEditor control. I would like to display message when user changes date in UltraDateTimeEditor control. I have implemented ValueChanged event of the control.
When I changes from user input using keyboard it works fine,
But when I clicks to navigate to another month (previous/next) then it fires the value chaged event in loop and add/subtract the date value in the value for each iteration. It fires the event till the calender closes as I used CloseUp() method before displaying message in message box.
Kindly help me for the solution.
Thanks & Regards,
Bhavesh Sanghani
This is a bad idea given that the event fires when a date is selected in the MonthCalendar (which happens on a MouseDown) and showing the MessageBox rips the focus away from the control, which is probably what causes the ensuing mayhem. You are probably a lot better off showing the MessageBox in response to the Validating or Leave event.
Hi Brian,
I am using UltraDateTimeEditor control. It fires the Value changed event when I am trying to navigate to another month. It changes the date to selected date of the next month and fires the value changed event.
Thanks,
Bhavesh Sanghani.
Hi Bhavesh,
I have exactly the same problem.
Have you found a way to navigate to another month without the change event?
Daniel Roth