DateTimePickerExt

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

2 Replies

JL Jose Luis Melo 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


AD Administrator Syncfusion Team 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....

Loader.
Up arrow icon