This demo shows how a CAPTCHA control with custom appearance can be implemented based upon the ASPxCaptcha, using its server and client API.
In this demo, the ASPxCaptcha's Refresh Button and Text Box functional elements are hidden.
Their functionality is implemented in a custom manner using separate controls.
Thus, the Refresh Button is represented via the IMG element, the Text Box - via the ASPxLabel and ASPxTextBox controls.
The Text Box element's built-in validation functionality is also disabled. To display validation results, two ASPxLabel controls are used.
When the form is submitted, manual verification of the input text is performed on the server side.
For this purpose, the text entered into the custom text box is compared with the value of the ASPxCaptcha's Code property.
This property determines the textual representation of the code displayed within the Challenge Image.