DateTime entry issue: Any way to not halt at slash/allow type through?

2 posts, 0 answers
  1. Michael
    Michael avatar
    12 posts
    Member since:
    Jan 2008

    Posted 06 Oct 2009 Link to this post

    I've got a major usability issue coming back from my client resulting from the use of the RadMaskedEditBox control.  The biggest issue is when using a Date mask (mask type 'd').  The control requires users to either click the right arrow or manually type in the slash while entering a date value. 

    Is there a property on the control that I can set to force the control to advance past the slash while typing (or backspacing), or do I have to manually implement such a behavior.

    This behavior is a common trait of most MaskedEditControls.

  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 08 Oct 2009 Link to this post

    Hi Michael,

    Thank you for contacting us.

    This feature is still not implemented in our masked editbox. We will do our best to implement it in one of the future releases. There is no workaround for this functionality at the moment because the editing logic can not be easily changed using the public API of the control.

    However please take a look at the following code snippet which will show you how to move programmatically the selection:

       RadMaskTextBox textBox = this.radMaskedEditBox1.MaskedEditBoxElement.TextBoxItem.HostedControl as RadMaskTextBox;

    Please contact me again if you need more information.

    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top