The Kendo UI tag helper helps you configure the Kendo UI widgets by using the tag helper feature in ASP.NET Core.
Tag helpers can be added and further configured through predefined strongly typed attributes, and enable you to handle the events of the widgets.
To configure an ASP.NET Core project that enables you to use the Kendo UI tag helper, add the @addTagHelper directive to your
@addTagHelper "*, Kendo.Mvc"
You can also globally add the directive in
You can configure tag helpers through the predefined strongly typed attributes which also provide IntelliSense. Complex and composite properties as well as nested configuration tags are not supported.
The following example demonstrates how to configure the
NumericTextBox tag helper.
<kendo-numerictextbox name="currency" format="c" min="0" enable="true" max="100" value="30"> </kendo-numerictextbox>
The following example demonstrates how to set the
change event of a NumericTextBox.
<kendo-numerictextbox name="currency" on-change="changeEvent"> </kendo-numerictextbox>