Show theme settings Shopping cart Download trialFree Trial
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.

Collapse/Expand
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxEditorsDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxEditorsDemos