NumericTextBox - prevent Shift

by krustev

HTML

<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.1.322/styles/kendo.default.min.css">
<script src="http://cdn.kendostatic.com/2012.1.322/js/kendo.all.min.js"></script>
<script src="http://demos.kendoui.com/content/web/globalization/cultures/kendo.culture.fr-FR.js"></script>
<input id="numeric" value="12.12"/>

JavaScript

$("#numeric").kendoNumericTextBox();
$("#numeric").bind("keydown", function(e) {
    if (e.shiftKey) {
        e.preventDefault();
    }
})