New to Telerik UI for ASP.NET MVC? Download free 30-day trial

CaptchaMessagesSettingsBuilder

Methods

Audio(System.String)

Defines the "title" message of the audio button. The default message is "Speak captcha".

Parameters

value - System.String

The value that configures the "title" of the audio button.

Example


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

ImageAlt(System.String)

Defines the "alt" attribute of the captcha's image tag. The default message is "Type the Captcha code from the image".

Parameters

value - System.String

The value that configures the "alt" value of the image tag.

Example


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

Reset(System.String)

Defines the "title" message of the reset button. The default message is "Reset captcha".

Parameters

value - System.String

The value that configures the "title" of the reset button.

Example


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

Success(System.String)

Defines message that is displayed when the validation is successful. The default message is "Verification successful".

Parameters

value - System.String

The value that configures the validation success message.

Example


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

In this article
Not finding the help you need?