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

Keyup event in combo box.

2 Answers 161 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Testing
Top achievements
Rank 1
Testing asked on 17 Jan 2014, 05:25 AM
Hi,
 How to handle on key up event in combo box.

2 Answers, 1 is accepted

Sort by
0
Accepted
Shinu
Top achievements
Rank 2
answered on 17 Jan 2014, 06:23 AM
Hi,

Please have look into the following code snippet to handle onkeyup event in RadComBoBox.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="--select--" onkeyup="Key(event);">
    <Items>
        <telerik:RadComboBoxItem Text="Item1" />
        <telerik:RadComboBoxItem Text="Item2" />
    </Items>
</telerik:RadComboBox>

JavaScript:
<script type="text/javascript">
    function Key(event) {
        alert("KeyCode :" + event.keyCode);
    }
</script>

Thanks,
Shinu.
0
Testing
Top achievements
Rank 1
answered on 17 Jan 2014, 09:55 AM
thank you it working..
Tags
ComboBox
Asked by
Testing
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Testing
Top achievements
Rank 1
Share this question
or