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.
Unfortunately, activation email could not send to your email. Please try again.

DateTimeEdit - how to display empty

Thread ID:

Created:

Updated:

Platform:

Replies:

92428 Jan 14,2010 10:59 AM Jan 18,2010 02:04 AM WPF 1
loading
Tags: EditControl
Giancarlo Aguilera
Asked On January 14, 2010 10:59 AM

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

Ananthi T [Syncfusion]
Replied On January 18, 2010 02:04 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;