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

Newbie Question??

2 Answers 30 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 03 Mar 2010, 09:45 PM
I don't consider myself a newbie but I am at a loss for this one.

The following does NOT display the captcha image...I've looked it over several times and can't see what I'm missing.
Any help would be greatly appreciated.

Thank You

<

 

telerik:RadCaptcha ID="InfoCaptcha" runat="server" ErrorMessage="The code you entered is not valid." ProtectionMode="Captcha" CaptchaImage-BackgroundColor="WhiteSmoke" CaptchaImage-LineNoise="Medium" CaptchaImage-BackgroundNoise="Medium" CaptchaImage-FontWarp="Medium" CaptchaImage-TextLength="5" CaptchaImage-TextColor="Gray" CaptchaImage-UseRandomFont="true" CaptchaImage-TextChars="LettersAndNumbers" EnableRefreshImage="true" ></telerik:RadCaptcha>

 

2 Answers, 1 is accepted

Sort by
0
Pero
Telerik team
answered on 04 Mar 2010, 02:22 PM
Hi John,

The CaptchaImage is served by an httpHandler that needs to be registered in the web.config file of your application. Please use RadCaptcha's smart-tag to register the handler or place the following lines in the configuration file:

<httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
 
<handlers>
     <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</handlers>


More information about the control can be found on our website:



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.
0
Ramjet
Top achievements
Rank 1
answered on 04 Mar 2010, 02:52 PM
Yes this did indeed solve the problem. I was mistaken in thinking that the background etc. would at least display without the handler.

Thank You
JB
Tags
Captcha
Asked by
Ramjet
Top achievements
Rank 1
Answers by
Pero
Telerik team
Ramjet
Top achievements
Rank 1
Share this question
or