Captcha causes other validator controls not to validate at client side

2 posts, 0 answers
  1. Them
    Them avatar
    1 posts
    Member since:
    May 2012

    Posted 19 May 2012 Link to this post

    Hi Telerik Team,

    My environment is MOSS 2007, a published internet site (anonymous access enabled) with output cache enabled. Details:
    - A Rad Catpcha control is used on a Page Layout. A page instance has been created (e.g. page1.aspx).
    - A RadScriptManager is declared on the page layout.
    - Some of ASP.NET controls (e.g. textbox) and some built-in ASP.NET validators are also used (e.g. RequiredFieldValidator).
    - Web resource handler is also registered in web.config.

    My problem is that all the validators are not got validated at client side on submission. After investigated, I guess the problem is because the rendered page (page1.aspx as the example above) could not reach the ScriptResource.axd but I don't know why and how to get client script validated on those server controls. If I remove the RadScriptManager and RadCaptcha from the page layout, everything works as normal (i.e. client side validation takes place).

    Could you please help me on this?

    P/S: everything works well on my edit site (the internal version of that published internet site).

  2. Slav
    Slav avatar
    1351 posts

    Posted 23 May 2012 Link to this post

    Hello Them,

    This is quite a strange problem, it appears that something is breaking the client-side validation of your page. In case there are additional controls on the page, do they affect the client-side validation in any way? Are there any JavaScript errors on the page? Please verify if the presence of both RadScriptManager and RadCaptcha results in the examined behavior or if the effect is similar when only one of them is present (in this case, which one).

    If your web site is running under IIS7 Integrated mode, the web server searches the HttpHandler registrations under the <system.webServer> section of web.config. In this case you should register the HttpHandlers as shown in the help article Registering the HttpHandlers on Windows Vista IIS 7 Integrated mode.

    If you are still having problems after trying the suggestion above, please send your web.config, a live URL to your page so that I can examine the issue locally.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top