CaptchaMessagesSettingsBuilder

Methods

Audio(System.String)

The title message of the audio button.

Parameters

value - System.String

The value for Audio

RETURNS

Returns the current CaptchaMessagesSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Captcha()
                .Name("captcha")
                .Messages(msg => msg.Audio("Play captcha"))
            )
             

ImageAlt(System.String)

The alt value of the captcha's image tag.

Parameters

value - System.String

The value for ImageAlt

RETURNS

Returns the current CaptchaMessagesSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Captcha()
                .Name("captcha")
                .Messages(msg => msg.ImageAlt("Enter the text from the image."))
            )
             

Reset(System.String)

The title message of the reset button.

Parameters

value - System.String

The value for Reset

RETURNS

Returns the current CaptchaMessagesSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Captcha()
                .Name("captcha")
                .Messages(msg => msg.Reset("Reset"))
            )
             

Success(System.String)

The message rendered when validation is successful.

Parameters

value - System.String

The value for Success

RETURNS

Returns the current CaptchaMessagesSettingsBuilder instance.

Example

Razor
 
            @( Html.Kendo().Captcha()
                .Name("captcha")
                .Messages(msg => msg.Success("Successful Verification"))
            )