Advanced Keyboard Functionality for RadDatePicker

Thread is closed for posting
1 posts, 0 answers
  1. 63F75A2C-1F16-4AED-AFE8-B1BBD57646AD
    63F75A2C-1F16-4AED-AFE8-B1BBD57646AD avatar
    1572 posts
    Member since:
    Oct 2004

    Posted 20 Sep 2016 Link to this post

    Requirements

    Telerik Product and Version

    3.5+

    Supported Browsers and Platforms

    FF - current and previous
    Chrome - current and previous
    IE8+

    Programming language

    JavaScript, C#

    PROJECT DESCRIPTION 

    The purpose of the code-library is not to present the users with a general solution for all formats and cultures, but rather to demonstrate how to implement a custom solution if advanced keyboard navigation is needed.

    Implementations:

    • every part (year, month, date) can be incremented individually either by arrow keys or mouse scroll (already built-in)
    • only numbers are allowed (except for month part)
    • only typing in the displayed format is allowed
    • only valid dates can be entered, e.g. 30 Feb or 54 July are automatically corrected on the fly
    • for every of the three parts Tab navigation can be used, as well as reversed with Shift-Tab
    • month part can be defined using the capital letter of the month, e.g. A selects April/August, D selects December
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.