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

  2. Stefan
    Stefan avatar
    2911 posts

    Posted 04 Jun 2013 Link to this post


    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.

    RadChart for WinForms is obsolete. Now what?
Back to Top