How to add functionality

2 posts, 0 answers
  1. William
    William avatar
    14 posts
    Member since:
    Oct 2018

    Posted 05 Dec 2018 Link to this post

    I need to add functionality to a raddatepicker such that typing "t" will change to today's date, "t-x" will subtract x days from today, and finally "t+x" will add x days to today.  I used OnValueChanging and have it working, however after everything has run through it seems to override the "t-x" and "t+x" to be "m/x/yyyy" where m is the current month, x is the number I typed, and yyyy is the current year.  Is there a better way to do this or a way of stopping the override.
  2. Eyup
    Eyup avatar
    3962 posts

    Posted 10 Dec 2018 Link to this post

    Hello William,

    This can be achieved using some custom keyboard handling similar to this sample:

    I hope this will give you some ideas. However, have in mind that this kind of custom implementation is beyond our support boundaries.

    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top