Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
960
Can't get Captcha to work
posted

Hi I dropped the WebCaptcha onto a page but cannot get it to respond or do anything in the Design view.  I get "value does not fall within expected range" and it does not respond to make modifications. Sometimes it says it has a duplicate ID but I don't have a duplicate ID (I did a search to be sure).

It does work when I view in browser but I cannot find any documentation or samples how to code the Submit event so I can do something when they enter correct values.

Thanks, Jim

Parents
No Data
Reply
  • 140
    posted

    Hy!

    I have the same issue (the first of these topic) using the WebCatcha in a User Control in a Folder under root Project, I found some information here: http://help.infragistics.com/NetAdvantage/ASPNET/2010.3?page=Web_WebCaptcha.html

    The must important thing to show me again the WebCaptcha was the "httpHandlers" in my web.config, I change the path to a valid path and these show again the control at designer window

    When I edit the web.config i change the initial httphandler with a "valid" path, but is no nesesary, just add a slash "/". When you return to the design window the control shows ok, but whe I run the project the image not show, I back to the editor and the control gone again, but run the project again and the image shows. I look into the web config and there is another httphandler line with the default handler. If I use these configuration I can see the image in the editor and running the project.

            <httpHandlers>
       <add path="/WebCaptchaImage.axd" verb="GET,HEAD" type="Infragistics.Web.UI.EditorControls.CaptchaImageHandler"
        validate="true" />
       <add path="WebCaptchaImage.axd" verb="GET,HEAD" type="Infragistics.Web.UI.EditorControls.CaptchaImageHandler"
        validate="true" />
      </httpHandlers>

    Hope these help

    Sorry for my bad English

Children
No Data