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.
- C#
- VB.NET
public class kendoCaptcha : kendoBase
Public Class kendoCaptcha
Inherits kendoBase
Constructors
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);
kendoCaptcha(options)
Constructs a new instance of the kendoCaptcha class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);