Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
600
UltraDateTimeEditor: automatic fill year
posted

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

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

     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. 

Children