Hi,
I've an UltraDateTimeEditor with MaskInput="mm.yyyy" and FormatString="MM.yyyy". If I enter 01.08 to the UltraDateTimeEditor, it ist converted to 01.2008.
But now, I only want to enter 01 to the UltraDateTimeEditor. When I leave the field, is it possible to automatic fill the UltraDateTimeEditor with 01.2008? Is there an event where I could make this behavior by myself ?
Thanks
Hansjörg Wintermantel
Hi Hansjörg,
I've never tried this, but the only event that immediately comes to mind is the Validating event. You could examine the Text property of the control and try to modify it to fill in the year there, I think.
HI Mike,
thanks for your answer. I tried to use the Validating Event, but this event is to late. Then I tried BeforeExitEditMode and set DateTime of the UltraDateTiemEditor. That works fine.