Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Custom Appearance

Show another code
Captcha image
Submit

This demo shows how a CAPTCHA control with a custom appearance can be implemented using the server and client API of the ASPxCaptcha control.

In this demo, the functional elements of the control's Refresh button and Text Box are hidden. Element functionality is implemented in a custom manner using separate controls. Thus, the Refresh button is displayed via the IMG element, and the Text Box is displayed via the ASPxLabel and ASPxTextBox controls. The Text Box element's built-in validation functionality is also disabled. Two ASPxLabel controls are used to display validation results.

When the form is submitted, manual verification of the input text is performed on the server side by comparing the text with the value of the Code property of ASPxCaptcha. This property determines the textual representation of the code displayed within the Challenge Image.