<
telerik:RadNumericTextBox
ID
=
"RadNumericTextBox2"
runat
=
"server"
MaxValue
=
"9223372036854775807"
Value
=
"545445456456465454"
>
<
NumberFormat
AllowRounding
=
"false"
DecimalDigits
=
"0"
/>
</
telerik:RadNumericTextBox
>
MaxValue property is set to use the maximum value of int64: 9223372036854775807
Original value introduced is: 545445456456465454
Value becomes: 545445456456465000
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
Using the set_enabled() method of the NumericTextBox doesn't disable/enable the TextBox properly:
<telerik:RadCheckBox runat="server" ID="CheckBox1" OnClientCheckedChanged="onClientCheckedChanged" Text="Enable/Disable" AutoPostBack="false" />
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" />
function onClientCheckedChanged(sender, args) {
let numericTextBox = $find("<%= RadNumericTextBox1.ClientID %>");
let isChecked = args.get_checked();
numericTextBox.set_enabled(isChecked);
}