Customize Auto Year

2 posts, 0 answers
  1. MiddleTommy
    MiddleTommy avatar
    163 posts
    Member since:
    Nov 2009

    Posted 24 Aug 2010 Link to this post

    In a future release could you make this control customizable in how it chooses a date year when a user enters a date with out a year in the textbox.
    It is fine most of the year but usually in January & December  and the surrounding months  you want the year not to be the current

    like on December 27th 2010 you enter 2/8 you probably mean 2/8/2011
    anyway that would be great to let us customize it. One way would be to provide a hook into the parsing of the Text in the textbox. Then we could do what ever we wanted. Anyway just an idea
  2. Kaloyan
    Kaloyan avatar
    920 posts

    Posted 25 Aug 2010 Link to this post

    Hi TWT,

    We have added a ParseDateTimeValue event that can be use by the user to put its own parsing logic.  There you have an access to the current input and the value that will be parsed as a result. You can modify it as you desire. Let us know if you are facing some problems in the implementation.

    Best wishes,
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top