Report a bug when using RadCaptcha in RadAjaxManager

2 posts, 1 answers
  1. mastermehdi
    mastermehdi avatar
    39 posts
    Member since:
    Apr 2010

    Posted 09 Apr 2012 Link to this post

    I using Telerik version 2011.3.1122.40 

    Please run this Codes:

    <%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <!doctype html>
    <head runat="server">
        <form id="form1" runat="server">
            <Telerik:RadScriptManager ID="scriptManager" runat="server" />
            <Telerik:RadAjaxManager ID="ajaxManager" runat="server">
                    <telerik:AjaxSetting AjaxControlID="ajax">
                            <telerik:AjaxUpdatedControl ControlID="ajax" />
            <asp:Panel ID="ajax" runat="server">
                <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">

    <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <telerik:RadCaptcha ID="captcha" Runat="server"

    when I click on refresh link, RadCaptcha will be hidden!
  2. Answer
    Slav avatar
    1351 posts

    Posted 10 Apr 2012 Link to this post

    Hi Mehdi,

    Updating a RadCaptcha control via a RadAjaxManager when its refresh functionality is activated is not a supported scenario. This is because RadCaptcha uses an UpdatePanel to refresh its code and it is not recommended to update the same part of a page with UpdatePanel and RadAjaxManager.

    You can utilize an UpdatePanel instead of a RadAjaxManager, although there still could be problems in some cases as nesting UpdatePanels is not a good practice.

    All the best,
    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