How to add functionality

2 posts, 0 answers
  1. William
    William avatar
    13 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
    Admin
    Eyup avatar
    3759 posts

    Posted 10 Dec 2018 Link to this post

    Hello William,

    This can be achieved using some custom keyboard handling similar to this sample:
    https://www.telerik.com/support/code-library/advanced-keyboard-functionality-for-raddatepicker

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

    Regards,
    Eyup
    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