This example shows how to use the client-side API of Telerik Numeric TextBox for ASP.NET MVC.
To use the client-side API you should first retrieve the textbox client-side object. The following code snippet shows how to do this:
<script type="text/javascript">
function getNumericTextBox(){
//"NumericTextBox" is the value specified by the Name() method.
var NumericTextBox = $("#NumericTextBox").data("tTextBox");
return NumericTextBox;
}
</script>
The same approach can be used when you need to get the client-object of the CurrencyTextBox or of the PercentTextBox.
Available client-side methods: