Completed
Last Updated: 01 Apr 2025 09:01 by ADMIN
Release 2025 Q2 (May)
Russ
Created on: 21 Mar 2025 08:05
Category: NumericTextBox
Type: Bug Report
0
Enable/Disable not working properly

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);
}
0 comments