ValidatorTagHelper
Example
Razor
<form>
</form>
Attributes
| Attribute | Type | Description |
|---|---|---|
| name | String | Sets the name of the component. |
| kendo-errorTemplate | String | The template which renders the validation error. |
| kendo-validator | Boolean | Attribute initializator for the Kendo Validator. |
| kendo-messages | IDictionary<String,String> | A Dictionary collection of strings that holds the messages of the validator. |
| on-kendo-validate | String | Triggered when the validation of the form completes. |
| on-kendo-validateInput | String | Triggered when the validation state of an input changes from valid to invalid or vice versa. |
| kendo-rules | IDictionary<String,String> | A Dictionary collection of strings that holds the rules of the validator. |
| script-attributes | IDictionary<String,Object> | Sets the attributes that will be added to the script tag of the component's initialization script. |
| kendo-validateOnBlur | Boolean | Specifies whether the validation should be perfromed on blur event. |
| is-in-client-template | Boolean | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute. |
| deferred | Boolean | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method. |
| as-module | Boolean | Specifies whether the initialization script of the component will be rendered as a JavaScript module. |