We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

DateTimeEdit - how to display empty

Hello,

I have a DateTimeEdit control bound to a nullable DateTime. How do I get the DateTimeEdit control to be "empty" when the bound value is null? Thank you

1 Reply

AT Ananthi T Syncfusion Team January 18, 2010 07:04 AM UTC

Hi Giancarlo,

Thanks for your interest in Syncfusion products.

We have a property called NoneDateText in DateTimeEdit control to display the text “No date is selected” when DateTime value is null. If you want to get the DateTimeEdit control to be empty, set empty string to NoneDateText property.

Hope this resolves your problem.

Please let us know if you have any other questions.

Thanks and Regards,
Ananthi T

Loader.
Live Chat Icon For mobile
Up arrow icon