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


Thread ID:





2824 Feb 14,2003 07:03 PM UTC Feb 17,2003 05:02 PM UTC WinForms 2
Tags: Tools
Kenneth Johnson
Asked On February 14, 2003 07:03 PM UTC

How do I set the initial value of a DateTimePickerExt control to null?

Jose Luis Melo
Replied On February 16, 2003 03:17 PM UTC

I have the same problem too. Can't figure out how to read a date value from a database that can be null and to assign that value to the DateTimePickerExt control. I have inspecting the source code for this control and the property "IsNullDate" can be set, but in runtime it never works... Will this be solved in the next release ? Thank you, Jose Luis Melo

Administrator [Syncfusion]
Replied On February 17, 2003 05:02 PM UTC

To set a null value, try setting these three properties: this.dateTimePickerExt1.IsNullDate = true; this.dateTimePickerExt1.Value = System.DateTime.Parse("1/1/1753"); this.dateTimePickerExt1.NullString = ""; Maybe this can be simplified....


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon