How to get the character that is pressed in onclientkeypressing event of telerik radcombobox control?

2 posts, 0 answers
  1. Raghupathy
    Raghupathy avatar
    1 posts
    Member since:
    Jul 2011

    Posted 19 Dec 2012 Link to this post

    Radcombobox's  onclientkeypressing event returns the key code of character that is pressed, in the method eventArgs.get_domEvent().keyCode.
    How to get the exact character that is pressed in onclientkeypressing event of telerik radcombobox control?
    Please help.
    Thanks in advance.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 26 Dec 2012 Link to this post

    Hi,

    Try the following javascript to achieve your scenario.
    JS:
    function OnClientKeyPressing(sender, args)
     {
            alert(String.fromCharCode(args.get_domEvent().keyCode));
    }

    Thanks,
    Shinu.
Back to Top