var eventArgs = new Telerik.Web.UI.InputErrorEventArgs(
Telerik.Web.UI.InputErrorReason.ParseError,
sender.get_textBoxValue(),
args.get_keyCode(),
args.get_keyCharacter()
);
sender.raise_error(eventArgs);
}
}
</script>
The Javascript code, which comes after "args.set_cancel(true);" makes the numeric textbox flash for a moment, indicating that you are trying to enter an invalid character.
All the best,
Dimo
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.