Basic Date Picker Forums

Welcome to Basic Date Picker Forums Sign in | Join | Help
in Search

FEATURE: NullDate Property

Last post 07-27-2006, 1:50 PM by geoffrey.mcgill. 0 replies.
Sort Posts: Previous Next
  •  07-27-2006, 1:50 PM 674

    FEATURE: NullDate Property

    We added a new NullDate property to BasicDatePicker which allows the developer to override what DateTime value is used to represent a 'null' or empty date.

    In previous versions DateTime.MinValue was used, and it's still the default value, but it can now be overridden with any DateTime value.

    For example, some applications may use DateTime.MaxValue to represent a null or empty value.

    [VB]
    Me.BasicDatePicker1.NullDate = DateTime.MaxValue

    [C#]
    this.BasicDatePicker1.NullDate = DateTime.MaxValue;


    See also
        SelectedValue property

    Note: The NullDate property is not available in BDPLite.
    Thanks,
    Geoffrey McGill
    ----------------------------------------
    Coolite Inc.
    Email: support [at] coolite [dot] com
    Phone: +1(888)775-5888
View as RSS news feed in XML
 
Powered by Community Server, by Telligent Systems