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

Commandbarmaskededitbox

1 Answer 65 Views
MaskedEditBox
This is a migrated thread and some comments may be shown as answers.
Jeffrey
Top achievements
Rank 1
Jeffrey asked on 04 Oct 2018, 02:14 PM

Hi,

I have a commandbarmaskededit box that is not restricted users to numeric entry only. In the objects properties under the expanded CommandBarMaskedTextBoxElement I have the Mask as ### and the MaskType as Standard and I have also tried it with Numeric. Neither options prevent the user from enter any alphanumeric characters instead of restrict in to just numeric. Thanks!

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 05 Oct 2018, 09:25 AM
Hello Jeffrey,

I was able to reproduce this issue. I have logged this issue on our Feedback Portal. You can track its progress, subscribe to status changes and add your comment to it here. I have also updated your Telerik Points.

To workaround this set the mask in the code:
commandBarMaskedEditBox1.CommandBarMaskedTextBoxElement.MaskType = Telerik.WinControls.UI.MaskType.Numeric;
commandBarMaskedEditBox1.CommandBarMaskedTextBoxElement.Mask = "d";

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
MaskedEditBox
Asked by
Jeffrey
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or