Keyup event in combo box.

3 posts, 1 answers
  1. Testing
    Testing avatar
    31 posts
    Member since:
    Nov 2013

    Posted 16 Jan 2014 Link to this post

    Hi,
     How to handle on key up event in combo box.
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 Jan 2014 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Testing
    Testing avatar
    31 posts
    Member since:
    Nov 2013

    Posted 17 Jan 2014 Link to this post

    thank you it working..
Back to Top