Thursday, November 11, 2010

How To Create A Google Like Captcha Control In ASP.NET

Want to get that same great look that Google’s Captcha has? Check out how easy it is to set up the ASPxCaptcha control to get that same look and feel:
gCaptcha_39BE84E5.gif

How?
Here’s 3 easy steps for the ASPxCaptcha:
Set a CodeLength property to 10
Set the ChallengeImage's BackgroundColor property to 'Transparent'
Set the ChallengeImage's ForegroundColor property to '#43B468' (you can also dynamically change the ForegroundColor on PageLoad to get different text colors just like in Google's Captcha).
Here’s the ASPX markup:
Read more: DevExpress