ValidatorTagHelper
Example
Razor
<form>
</form>
Attributes
Attribute | Type | Description |
---|---|---|
name | String | Sets the name of the component. |
error-template | String | The template which renders the validation error. |
is-enabled | Boolean | Attribute initializator for the Kendo Validator. |
messages | IDictionary<String,String> | A Dictionary collection of strings that holds the messages of the validator. |
on-validate | String | Triggered when the validation of the form completes. |
on-validate-input | String | Triggered when the validation state of an input changes from valid to invalid or vice versa. |
rules | IDictionary<String,String> | A Dictionary collection of strings that holds the rules of the validator. |
script-attributes | IDictionary<String,Object> | |
validate-on-blur | 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 | |
has-client-component | Boolean | |
sanitize-id | Boolean |