Dates earlier than 1980

5 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 26 Feb 2008 Link to this post

    I am using the RadDatePicker control from Prometheus (although I think the behaviour is the same using RadControls Q2 2008 as well).

    I want to either select, or type in a date before January 1 1980 and it does not appear to let me do either.

    I need to have the control for entering birthdates, for instance, which may well be before January 1 1980 (even in a computing context some of us are still working!)

    I am assuming there is something simple I am not setting.

    David Penny
    Pillar Software
  2. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 26 Feb 2008 Link to this post

    Sorry - found it!

    David Penny
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Wagon
    Wagon avatar
    4 posts
    Member since:
    Dec 2007

    Posted 03 Nov 2008 Link to this post

    What did you find? Please post for the rest of us.

    Thanks!
  5. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 03 Nov 2008 Link to this post

    Hi,

    it's the MinDate property - for some reason the default is set to 1980 so you need to enter a date as far back as you may need.
  6. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 07 Nov 2008 Link to this post

    Hi,

    You can use the MaxDate and MinDate properties to specify a range for the datepicker control. If the user tries to enter a value that is greater than the value of the MaxDate property or less than the MinDate property, the date input control signals the user that there is a problem by applying the "error" CSS style and does not update its value.


    Shinu
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017