Support us .Net Basics C# SQL ASP.NET ADO.NET MVC Slides C# Programs Subscribe Buy DVD

Customizing recaptcha control

Suggested Videos
Part 165 - How to display an icon for website on browser tab
Part 166 - Captcha control in
Part 167 - Using ASP.NET validation controls with recaptcha

In this short video we will discuss using the standard themes that come with recaptcha control to customize it's look and feel in an web application.

The following are the different standard themes available. The default theme is red.
1. red
2. white
3. blackglass
4. clean

The Theme property can be set declaratively in the HTML or programatically in the code-behind file. The theme that is set programatically overrides the theme that is set declaratively in the HTML.

The following example sets the Theme property to blackglass
<recaptcha:RecaptchaControl ID="recaptcha" Theme="blackglass"
runat="server" PublicKey="Your_PublicKey"
PrivateKey="Your_PrivateKey" />

and this is how the recaptcha control looks with blackglass theme
customizing recaptcha control

For complete documentation on customizing the Look and Feel of reCAPTCHA, please visit

No comments:

Post a Comment

If you like this website, please share with your friends on facebook and Google+ and recommend us on google using the g+1 button on the top right hand corner.