Datetime picker - MinDate

2 posts, 0 answers
  1. Ab
    Ab avatar
    3 posts
    Member since:
    Dec 2012

    Posted 30 May 2013 Link to this post

    e.g. MinDate = #5/30/2013#
    When I set the MinDate to a value the value is also set to MinDate.

       With calStartDate
        .MinDate = MinimumDate
        .MaxDate = MaxDate
        .SetToNullValue()
       End With

    Applying SetToNullValue does not reset the value to null/nothing. How can I ensure the value (default) is always set to NULL

     Telerik  WnForms Q1 2013 SP1
    VS2010

  2. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 04 Jun 2013 Link to this post

    Hello,

    The described behavior is expected if the control value is less than the min date. In this case, setting a greater min date will change the control value to it.

    Calling the SetToNullDate method will null out the NullableValue of the control. For backwards compatibility, we have introduced this property for null value support instead of using the Value property.

    I hope that you find this information useful.
     

    Regards,
    Stefan
    Telerik
    RadChart for WinForms is obsolete. Now what?
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top