Setting the InputType
of the RadTextBox
will make the control render an HTML input
element of type number
. This input
element allows non-numeric characters to be entered, however, the value is disregarded as invalid. You can see the same behavior if you place a simple input
element with its type
attribute set to number
As you have noticed, the behavior seen when using RadNumericTextBox
is different. This is because the control performs additional client-side validation of the characters that are entered in the input. If the user attempts to enter a character that is not allowed the control disregards it and alerts the user.
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.