This is a migrated thread and some comments may be shown as answers.

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

1 Answer 103 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 06 Oct 2009, 02:37 PM
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.


1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 08 Oct 2009, 06:08 AM
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;
            textBox.GetMaskHandler().HandleRightKey();

Please contact me again if you need more information.


Greetings,
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.
Tags
DateTimePicker
Asked by
Michael
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or