Enter key like Tab

2 posts, 0 answers
  1. Koren
    Koren avatar
    73 posts
    Member since:
    Oct 2010

    Posted 16 Apr 2012 Link to this post

    Is there any way to make the enter key work like tab for masked input?  Our users are used to a 10-key entry so letting them hit enter to save and navigate to the next textbox on the control would be great.

  2. Petar Mladenov
    Petar Mladenov avatar
    3164 posts

    Posted 19 Apr 2012 Link to this post

    Hello Koren,

     You can use the PreviewKeyDown event of the MaskedInputControls like so:
    if(e.Key == Keys.Enter)
    // your custom logic
    e.handled = true;
    Please let us know if this is suitable for you.

    All the best,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top