Using numerictextbox :
- FireFox (rel.67.0.1) accept non numeric characters.
- IE (rel. 11.461) , correctly, accept only numeric but entering the page in debug mode in Visual Studio, I get the error in attach.
- Edge is ok
Thanks
Mario
<
telerik:RadNumericTextBox
runat
=
"server"
Type
=
"Number"
ShowSpinButtons
=
"true"
MinValue
=
"0"
MaxValue
=
"99999"
RenderMode
=
"Classic"
MaxLength
=
"5"
ConvertEmptyStringToNull
=
"False"
>
<
IncrementSettings
InterceptArrowKeys
=
"false"
InterceptMouseWheel
=
"true"
/>
<
NumberFormat
DecimalDigits
=
"0"
/>
</
telerik:RadNumericTextBox
>
<
telerik:RadNumericTextBox
ID
=
"Test"
runat
=
"server"
Width
=
"125px"
Type
=
"Number"
MaxLength
=
"3"
SelectionOnFocus
=
"SelectAll"
RenderMode
=
"Classic"
>
<
NumberFormat
GroupSeparator
=
"."
/>
</
telerik:RadNumericTextBox
>
<
script
>
Telerik.Web.UI.RadInputControl.prototype._isNormalChar = function (e) {
if (($telerik.isOpera && e.rawEvent.which == 0) ||
($telerik.isSafari && (e.charCode <
Sys.UI.Key.space
|| e.charCode > 60000))) {
return false;
}
return true;
}
</
script
>