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
1530
XamDateTimeEditor: How to set time in dropdown calendar mode
posted

Hi,

if I use the XamDateTimeEditor in dropdown calendar mode and select a date using the calendar, only the date will be set and the time is left empty. Leaving the editor will present the message "The value in the editor is not valid".

How can the time be set to 00:00:00 by default or in code behind after using the calendar?
AutoFillDate would be fine for time also...  

And how could the above error message could be supressed and handle by my own?

If I use_EditModeValidationError-Event and set e.Handled=true, the messagebox still occurs.

 

best regards,

cew3