This is a migrated thread and some comments may be shown as answers.

OnClientTextChange not firing on Enter

1 Answer 63 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
Dave asked on 02 Nov 2020, 05:52 PM

Hi,

Using the sample code below found in the docs, the event doesn't fire when Enter is pressed. Tab-ing or clicking off the combo box does cause the event to fire.  Seems to be a bug.?

Dave

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="Test" %>
 
<!DOCTYPE html>
 
<head id="head1" runat="server">
    <title></title>
</head>
 
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManagerProxy1" runat="server" />
 
        <script type="text/javascript">
            function OnClientTextChange(sender, eventArgs) {
                alert("You typed " + sender.get_text());
            }
        </script>
 
        <telerik:radcombobox
            id="RadComboBox1"
            runat="server"
            allowcustomtext="true"
            onclienttextchange="OnClientTextChange"
        </telerik:radcombobox>
 
    </form>
</body>
</html>

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 09 Nov 2020, 04:47 PM

Hi Dave,

Thanks a lot for bringing this issue to our attention. Indeed the behаvior of the OnClientTextChanged event is very inconsisten, thus I have logged it for further investigation by our developers. Once the behvaior is fixed, the item status will be updated so you can follow its progress here:

https://feedback.telerik.com/aspnet-ajax/1494446

In addition, I have aslo updated your Telerik points as a small sign of grattude for your report.

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
ComboBox
Asked by
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
Answers by
Vessy
Telerik team
Share this question
or