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

DateTimePickerExt

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

2 Replies

JL Jose Luis Melo February 16, 2003 10:17 AM

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


AD Administrator Syncfusion Team February 17, 2003 12:02 PM

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....

Loader.
Live Chat Icon For mobile
Up arrow icon