Defaulting to 1900s instead of 2000s

3 posts, 0 answers
  1. chrisL
    chrisL avatar
    64 posts
    Member since:
    Dec 2005

    Posted 30 Mar 2015 Link to this post

    Hi. When I type in 29.10.38 into radcalendar and tab out it is assuming I mean 29 Oct 1938. But i mean 29 Oct 2038. How can I fix this?

    Thanks
    Chris
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 31 Mar 2015 Link to this post

    Hello Chris,

    This can be done by changing the value of the ShortYearCenturyEnd property of RadDateInput. The default is 2029, you could set it for example 1940. Then years from 40 to 99 will be 1840-1899. And the years from 1 - 40 will be 1901 - 1940.

    Regards,
    Vasil
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. chrisL
    chrisL avatar
    64 posts
    Member since:
    Dec 2005

    Posted 31 Mar 2015 in reply to Vasil Link to this post

    Great. So for my situation i set ShortYearCenturyEnd = 2099.

    Thanks.
Back to Top