Captcha

Example

Razor
<kendo-captcha>
    <audio-handler />
    <handler />
    <messages />
    <validation-handler />
</kendo-captcha>

ChildTags

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
captcha-idStringThe ID of the captcha to be added to the hidden input initially. If not set the handler to reset the ID will be called.
captcha-imageStringThe source of an image to be rendered as captcha initially. If not set the handler to reset the image will be called.
data-captcha-fieldStringThe field that returns the captcha's image source. Used in the handler function/response that resets the captcha's image and id.
data-captcha-id-fieldStringThe field that returns the captcha's id. Used in the handler function/response that resets the captcha's image and id.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
audio-buttonBooleanToggles the audio button.
forModelExpressionAn expression to be evaluated against the current model.
has-client-componentBoolean
on-changeStringFired when users changes the input of the Captcha component.
on-errorStringFired when a request triggered by the component fails - can be distinguished via the type argument in the event data.
on-request-endStringFired when a request to a handler is finished - can be distinguished via the type argument in the event data.
on-request-startStringFired when the captcha makes a request to a handler - can be distinguished via the type argument in the event data.
reset-buttonBooleanToggles the reset button.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
validate-on-blurBooleanWhether to trigger validation when input is blurred. This option is useful if you are not using the Kendo Validator or the Kendo Form widgets as it enables to automatically trigger remote validation and use the widet's API in custom validation scenario.
volume-controlBooleanWhether to show a volume control when audio is played.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support