Completed
Last Updated: 11 Feb 2020 10:12 by ADMIN
Release R3 2019
mario
Created on: 10 Jun 2019 13:46
Category: NumericTextBox
Type: Bug Report
0
the control doesn't chek for numeric characters in Firefox, while in IE VisualStudio shows an error in debug mode.

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

 

Attached Files:
1 comment
ADMIN
Rumen
Posted on: 11 Jun 2019 13:31
Hi Mario,

Thank you for reporting this bug.

The problem was verified and fixed internally. The fix will be included in the next official release R3 2019 as well as included in the next Latest Internal Build.

Your Telerik points are updated too.

To solve the problem in the current version 2019.2.514 use the following override:

<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>


Regards,
Rumen
Progress Telerik
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.