All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
<
telerik:radcombobox
id
=
"RadComboBox1"
runat
"server"
allowcustomtext
"true"
></
>
function
pageLoad()
{
var
combo = $find(
"<%= RadComboBox1.ClientID %>"
);
input = combo.get_inputDomElement();
input.onkeydown = onKeyDownHandler;
}
onKeyDownHandler(e)
if
(!e)
e = window.event;
code = e.keyCode || e.which;
//do not allow any of these chars to be entered: !@#$%^&*()
(e.shiftKey && code >= 48 && code <= 57) {
e.returnValue =
false
;
(e.preventDefault) {
e.preventDefault();