ASPxCaptcha Overview
- 2 minutes to read
The ASPxCaptcha is a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) control used to verify that submitted data come from a human and not a robot or script.
ASPxCaptcha offers the following features:
Customizable Element Visibility and Appearance
The following table lists the properties that define captcha elements visibility and appearance
Members Description ASPxCaptcha.ChallengeImage Gets the image settings displayed within the challenge image element. ASPxCaptcha.LoadingPanel Gets the settings of the captcha editor’s loading panel. ASPxCaptcha.RefreshButton Gets the settings of the captcha editor’s refresh button. ASPxCaptcha.TextBox Gets the settings of the captcha editor’s text box. Customizable Error Message
When an end-user inputs a wrong code, an error message is displayed. You can modify the displayed message using the CaptchaValidationSettings.ErrorText property.
Customizable Character Set
You can use the ASPxCaptcha.CharacterSet property to define the set of characters used by the editor to generate the code displayed in a challenge image.
Customizable Code Length
The ASPxCaptcha.CodeLength property allows you to define the number of characters displayed within the editor’s challenge image.
Various Font Families
The CaptchaImageProperties.FontFamily property allows you to define the desired font that will be used in the challenge image: Verdana, Times New Roman, Georgia, Courier New.
Various Font Styles
The CaptchaImageProperties.FontStyle property allows you to define the style that will be applied to the font: Regular, Italic or Bold.
Full-Featured Client-Side API
ASPxCaptcha provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the ASPxClientCaptcha object. The ASPxClientCaptcha object serves as a client-side equivalent of the ASPxCaptcha control.
You can modify the editor behavior using the following methods.
Method Description ASPxClientCaptcha.Focus Sets input focus to the control’s text box. ASPxClientCaptcha.Refresh Refreshes the code displayed within the editor’s challenge image. Web Gardens Support
The ASPxCaptcha control supports the IIS clustered web environment (also known as Web Farms or Web Gardens). To learn more, see the Binary Storage Configuration topic.