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

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

1 Answer 87 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raghupathy
Top achievements
Rank 1
Raghupathy asked on 19 Dec 2012, 04:05 PM
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.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 26 Dec 2012, 09:59 AM
Hi,

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

Thanks,
Shinu.
Tags
General Discussions
Asked by
Raghupathy
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or