Date entry without the century

3 posts, 1 answers
  1. Scott Waye
    Scott Waye avatar
    111 posts
    Member since:
    Nov 2009

    Posted 05 Feb Link to this post

    Is it possible to enter the date without having to type the century?  It seems that 1/1/16 is not valid, you have to enter 1/1/2016.  Most of the time the century is the current one.  In fact not entering the year at all would be even better, so that the year defaults to this year.  Either of these things possible?

     

    Thanks

  2. Answer
    Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 09 Feb Link to this post

    Hello Scott,

    Thank you for contacting Telerik Support.

    In order to achieve the desired functionality, you should add a Custom Editor Template to your Grid, where you can define a DatePicker editor. In this picker, you can define a format and a parse format.

    The parse format will suite you in achieving the desired functionality, as demonstrated in the following online example:

    http://dojo.telerik.com/ApaGo

    For example, you can type the day and month and the Year will be automatically filled.

    Hope this information helps.

    Regards,
    Nencho
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Scott Waye
    Scott Waye avatar
    111 posts
    Member since:
    Nov 2009

    Posted 09 Feb Link to this post

    Thanks, that's great.
Back to Top