Kendo.Mvc.UI.Fluent.CaptchaBuilder
Defines the fluent API for configuring the Kendo UI Captcha
Methods
CaptchaImage(System.String)
The source of an image to be rendered as captcha initially. If not set the handler
to reset the image will be called.
Parameters
value System.String
The value that configures the captchaImage.
AudioHandler(System.Action<Kendo.Mvc.UI.Fluent.CrudOperationBuilder>)
The action for the audioHandler.
AudioHandler(System.String)
The action for the audioHandler.
AudioHandlerFunction(System.String)
The function callback for the audioHandler.
Handler(System.Action<Kendo.Mvc.UI.Fluent.CrudOperationBuilder>)
The action for the handler.
Handler(System.String)
The action for the handler.
HandlerFunction(System.String)
The function callback for the handler.
ValidationHandler(System.Action<Kendo.Mvc.UI.Fluent.CrudOperationBuilder>)
The action for the validationHandler.
ValidationHandler(System.String)
The action for the validationHandler.
ValidationHandlerFunction(System.String)
The function callback for the validationHandler.
AudioButton(System.Boolean)
Toggles the audio button.
Parameters
value System.Boolean
The value for AudioButton
CaptchaId(System.String)
The ID of the captcha to be added to the hidden input initially. If not set the handler to reset the ID will be called.
Parameters
value System.String
The value for CaptchaId
DataCaptchaField(System.String)
The field that returns the captcha's image source. Used in the handler function/response that resets the captcha's image and id.
Parameters
value System.String
The value for DataCaptchaField
DataCaptchaIdField(System.String)
The field that returns the captcha's id. Used in the handler function/response that resets the captcha's image and id.
Parameters
value System.String
The value for DataCaptchaIdField
Messages(System.Action<Kendo.Mvc.UI.Fluent.CaptchaMessagesSettingsBuilder>)
Provides configuration options for the messages present in the Captcha widget.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.CaptchaMessagesSettingsBuilder>
The configurator for the messages setting.
ResetButton(System.Boolean)
Toggles the reset button.
Parameters
value System.Boolean
The value for ResetButton
ValidateOnBlur(System.Boolean)
Whether 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.
Parameters
value System.Boolean
The value for ValidateOnBlur
ValidateOnBlur
Whether 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.
VolumeControl(System.Boolean)
Whether to show a volume control when audio is played.
Parameters
value System.Boolean
The value for VolumeControl
Events(System.Action<Kendo.Mvc.UI.Fluent.CaptchaEventBuilder>)
Configures the client-side events.
Parameters
configurator System.Action<Kendo.Mvc.UI.Fluent.CaptchaEventBuilder>
The client events action.
Example (ASPX)
@(Html.Kendo().Captcha()
.Name("Captcha")
.Events(events => events
.Change("onChange")
)
)