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

 

  • 138253
    Offline posted

    Hello,

    Thank you for your post. I have been looking into it and I created a sample project for and everything seems to work as you want, by default, on my side. If the sample doesn’t satisfies all your needs feel free to modify it, so it reproduces your behavior and send it back to me for further investigation.

    Looking forward for your reply.

    XamDataTimeEditor.zip