title | page_title | description | slug |
---|---|---|---|
NumericTextBox |
NumericTextBox | Migrate from Telerik Extensions |
Handle ASP.NET MVC server-side API for the Kendo UI NumericTextBox widget. |
numerictextbox_migrationextensions_aspnetmvc |
This article demonstrates the ASP.NET MVC server-side API for the Kendo UI NumericTextBox widget.
Html.Telerik().NumericTextBox().IncrementStep(1)
Html.Kendo().NumericTextBox().Step(1)
Html.Telerik().NumericTextBox().MinValue(1)
Html.Kendo().NumericTextBox().Min(1)
Html.Telerik().NumericTextBox().MaxValue(1)
Html.Kendo().NumericTextBox().Max(1)
Html.Telerik().NumericTextBox().EmptyMessage(“Enter”)
Html.Kendo().NumericTextBox().Placeholder(“Enter”)
Not implemented.
Html.Telerik().NumericTextBox().DecimalDigits(3)
Html.Kendo().NumericTextBox().Decimals(3)
The NumberGroupSize
, NumberGroupSeparator
, NegativePatternIndex
, DecimalSeparator
, and CurrencySymbol
are not implemented in Kendo UI. Use the Format()
and Culture()
methods instead to achieve the same result.
None of the events has the On
prefix anymore.
None of the widgets features the OnLoad
event anymore. Use the $(document).ready()
instead.
var datePicker = $("#DatePicker").data("tTextBox");
datePicker.disable();
var datePicker = $("#datepicker").data("kendoNumericTextBox");
datePicker.enable(false);
- [Migrate the AutoComplete]({% slug autocomplete_migrationextensions_aspnetmvc %})
- [Migrate the Calendar]({% slug calendar_migrationextensions_aspnetmvc %})
- [Migrate the Chart]({% slug chart_migrationextensions_aspnetmvc %})
To see the articles on migrating Kendo UI controls from Telerik Extensions, browse the [Widgets folder]({% slug autocomplete_migrationextensions_aspnetmvc %}).