RadTimePicker Tab into Minutes

7 posts, 0 answers
  1. Brandon
    Brandon avatar
    17 posts
    Member since:
    Sep 2011

    Posted 26 Sep 2012 Link to this post

    When my users are changing the hour in the time picker by typing in the numbers, they would like to be able to navigate to minutes when they press the tab key.

    The desired functionality happens when they press the arrow right key, but they would like it to happen for the tab key as well.
    I could not figure out how to make this happen. I tried looking in properties and I tried to intercept the tab key on all of the key events, but the tab key would not fire any key events before it went to the next control.
  2. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 01 Oct 2012 Link to this post

    Hello Brandon,

    Thank you for writing.

    This functionality is not supported because by default the Tab key is reserved for navigation between controls. Due to the nature of your request, I am not able to provide you with a proper work around.

    Let us know if you have any other questions.

    Kind regards,
    Peter
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Brandon
    Brandon avatar
    17 posts
    Member since:
    Sep 2011

    Posted 01 Oct 2012 Link to this post

    Thank you for your response. I will relay this information to the user requesting this functionality.
  5. Timothy
    Timothy avatar
    37 posts
    Member since:
    Nov 2012

    Posted 14 Dec 2012 Link to this post

    Can you provide a "data entry" mode so that it skips the colon? That is, if I enter "0615" it will enter "06:15 AM" and if I enter "18:30" it will enter "06:30 PM". Having to hit the right arrow key is an extra keystroke and people doing data entry do not like that.

    Thanks.
  6. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 15 Dec 2012 Link to this post

    Hello Timothy,

    Thank you for writing.

    GridViewMaskBoxColumn is strongly validated, thus you cannot enter one value and see another i.e. you cannot enter hhMM and see hh/MM AM/PM. We do not offer an alternative control or behavior that allows this kind of input. A feature request for such is available in our Public Issue Tracker. Feel free to add your vote for it here: http://www.telerik.com/support/pits.aspx#/details/Issue=1081.

    Off topic, please do not mix different subjects in the same thread as this makes searching for a particular piece of information harder. Please open new threads for questions not related to the initial topic of a thread.

    Kind regards,
    Peter
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
  7. Timothy
    Timothy avatar
    37 posts
    Member since:
    Nov 2012

    Posted 15 Dec 2012 Link to this post

    Most masked text boxes do not require you to enter the literal characters. i.e. a mask of __:__ will skip the colon when you type in 0615.

    Sorry, it seemed on topic at the time.
  8. Peter
    Admin
    Peter avatar
    1148 posts

    Posted 18 Dec 2012 Link to this post

    Hello Timothy,

    Thank you for writing back.

    Here is a correct link http://www.telerik.com/support/pits.aspx#/details/Issue=1081. You can use GridMaskedEditBox Column with MaskType = Standard and Mask = "##:##", which will allow you to type in editor 0615 and will produce as a result 06:15. The disadvantage of this scenario is that you should create custom validation logic for user input (for example 06:66 which is incorrect).

    I hope this helps.

    All the best,
    Peter
    the Telerik team
    Q3’12 of RadControls for WinForms is available for download (see what's new). Get it today.
Back to Top
UI for WinForms is Visual Studio 2017 Ready