Looking at the provided code snippet you have bound only the Text
property, not the Value property. The Value
property represents the user input without the formatting characters. The Text
property will always retrieve the user's input formatted according to the Mask
and the TextMode
property. Also, the "#"
means that the user restricted to enter only digit symbol. You can read more about the mask tokens in the Mask Tokens
help article. If you want to allow typing letters and digits you can use "a"
token. I have created a sample project to demonstrate this approach. Give it a try and let me know if it works for you.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.