This is a migrated thread and some comments may be shown as answers.

charset

3 Answers 89 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Robert Smit
Top achievements
Rank 1
Robert Smit asked on 26 Mar 2010, 09:37 AM
Dear Telerik,

I would like to remove the character 0, o, 1 and l from the character set of RadCaptcha.

I used:
RadCaptcha1.CaptchaImage.CharSet = "abcdefghijkmnpqrstuvwxyz23456789";

however the removed characters are still being used. What do I miss?

Thanks in advance,

Robert

3 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 26 Mar 2010, 10:11 AM
Hi Robert,

The following example demonstrates how to use custom char set for the Captcha: http://demos.telerik.com/aspnet-ajax/captcha/examples/characterset/defaultcs.aspx


All the best,
Pero
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Robert Smit
Top achievements
Rank 1
answered on 26 Mar 2010, 10:21 AM
Hi Pero,

Thanks for your fast reply. I used this example for my code, however it still doesn't work. 

What do I miss?

Cheers,

Robert
0
Accepted
Pero
Telerik team
answered on 26 Mar 2010, 10:57 AM
Hi Robert,

Besides setting RadCaptcha1.CaptchaImage.CharSet = "abcdefghijkmnpqrstuvwxyz23456789";, you also need to set RadCaptcha1.CaptchaImage.TextChars to Telerik.Web.UI.CaptchaPossibleChars.CustomCharSet.


Best wishes,
Pero
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Captcha
Asked by
Robert Smit
Top achievements
Rank 1
Answers by
Pero
Telerik team
Robert Smit
Top achievements
Rank 1
Share this question
or