Skip to main content

kendoCaptcha

Namespace: Wisej.Web.Ext.Kendo

Assembly: Wisej.Web.Ext.Kendo (4.1.0.0)

The Kendo UI Captcha widget allows you to prevent spam in form submissions by requesting user/human input of distorted image of letters and numbers. The widget also provides audio reproduction of the image.

public class kendoCaptcha : kendoBase

Constructors​

Instance member kendoCaptcha()​

Constructs a new instance of the kendoCaptcha class.

Example:

The following example creates a captcha and sets, through the Options property, the application endpoints that generate and validate the captcha.

var captcha = new kendoCaptcha();
captcha.Options.handler = "captcha/reset";
captcha.Options.validationHandler = "captcha/validate";
captcha.Width = 300;
this.Controls.Add(captcha);

Instance member kendoCaptcha(options)​

Constructs a new instance of the kendoCaptcha class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a captcha passing the application endpoints that generate the image, the audio and validate the text typed by the user.

var captcha = new kendoCaptcha(new
{
handler = "captcha/reset",
audioHandler = "captcha/audio",
validationHandler = "captcha/validate"
});
captcha.Width = 300;
this.Controls.Add(captcha);

Implements​