Hi
I have a javascript function that validates client input as they're typing. If the user types an invalid character, the function (decOnlyKey below) returns false.
It appears this eventArgs object does not have a set_cancel method (hence commented out above).
How can I get the RadComboBox to reject the key press?
Thanks
I have a javascript function that validates client input as they're typing. If the user types an invalid character, the function (decOnlyKey below) returns false.
function RadComboBoxKeyPressing(combo, eventArgs) { var key = eventArgs.get_domEvent().keyCode; var allow = decOnlyKey(key, combo.get_text());// if (!allow)// eventArgs.set_cancel(true);}It appears this eventArgs object does not have a set_cancel method (hence commented out above).
How can I get the RadComboBox to reject the key press?
Thanks