New to Telerik UI for ASP.NET Core? Download free 30-day trial

Creating Custom Number Editor Using NumericTextBox


Product Grid for Progress® Telerik® UI for UI for ASP.NET Core


How can I create a Grid with a custom number editor by using the Telerik UI for ASP.NET Core NumericTextBox?


  1. Create an editor template within the ~\Views\Shared\EditorTemplates\ directory.

  2. Pass the newly created view name to the following column configuration:

columns.Bound(p => p.Freight).EditorTemplateName("CustomNumericTextBox");


    .Columns(columns =>
        columns.Bound(p => p.OrderID).Filterable(false);
        columns.Bound(p => p.Freight).Format("{0:p5}").EditorTemplateName("CustomNumericTextBox");
    .DataSource(dataSource => dataSource
        .Read(read => read.Action("Orders_Read", "Grid"))
@model double?

@(Html.Kendo().NumericTextBoxFor(m => m)

More ASP.NET Core Grid Resources

See Also

In this article