This example demonstrates how to use the reCAPTCHA API to validate user actions on your website.
-
Default.aspx (VB: Default.aspx)
Follow the steps below to add reCAPTCHA verification to a project:
-
Register your website with the Google reCAPTCHA service to get a key pair that consists of a site key and secret key.
-
Create a
divcontainer with the class attribute set to g-recaptcha. Assign the site key value to the container's data-sitekey attribute.
This example handles the button's Click event on the client side to get a user's response to the reCAPTCHA challenge.
(you will be redirected to DevExpress.com to submit your response)
