telerik:RadAjaxManager :-A control with id not be found for the trigger in updatepannel

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

    Posted 24 May 2012 Link to this post

    Hi ,

    I ahve an existing application wich was working fine with Telerik.web.ui dll (version 2007.3.1314.20), but to use some new features(i.e. Schedular control) we just added the latest version of the dll( 2010.3.1317.20), but after updating to this dll we are facing lots of issues
    1. We have Page which have the Update pannel control and when we add the user control which has the telerik:RadAjaxManager control it show the following exception "telerik:RadAjaxManager :-A control with id not be found for the trigger in updatepannel"

    Please suggest on this.

    Below is the code snippet
    in CtrlPlaceholder we are loading the user control

    <

     

     

    asp:UpdatePanel id="pnluCompanyData" EnableViewState="true" runat="server" UpdateMode="Conditional"

     

     

     

    RenderMode="Inline">

     

     

     

    <contenttemplate>

     

     

     

    <asp:PlaceHolder id="CtrlPlaceholder" EnableViewState="true" runat="server" ></asp:PlaceHolder>

     

    </asp:UpdatePanel>

    User control code

    <

     

     

    telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >

     

     

     

    <AjaxSettings >

     

     

     

    <telerik:AjaxSetting AjaxControlID="mvwDriver1" >

     

     

     

    <UpdatedControls >

     

     

     

    <telerik:AjaxUpdatedControl ControlID="divLoadingImageDriver" LoadingPanelID="RadAjaxLoadingPanel1" />

     

     

     

    </UpdatedControls>

     

     

     

    </telerik:AjaxSetting>

     

     

     

    </AjaxSettings>

     

     

     

    <ClientEvents OnResponseEnd="Driver_ResponseEnd" OnRequestStart="ApplyFormCssClass(dDisablescreen)" />

     

     

    </

     

     

    telerik:RadAjaxManager>

     

    <

     

     

    telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px"

     

     

     

    Width="75px">

     

     

     

    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'

     

     

     

    style="border: 0px;" />

     

    </

     

     

    telerik:RadAjaxLoadingPanel>

     



    Regards
    Anurag Sharma
  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 25 May 2012 Link to this post

    Hi,

    It's true that you cannot have RadAjaxManager defined in ASP:UpdatePanel. In addition, it is not suggest that have the RadAjaxManager defined in a dynamically loaded user control markup.
    Additionally, it is not suggested to use more that on ajax control to ajaxify the same page content.

    Therefore, to overcome the issue you are facing, you have to either remove the RadAjaxManager. Or remove the ASP:UpdatePanel and add the RadAjaxManager dynamically in the user controls following the solution provided in the below articles:
    http://www.telerik.com/help/aspnet-ajax/ajax-ajax-manager-programmatic-creation.html
    http://www.telerik.com/help/aspnet-ajax/ajax-add-ajaxsettings-programmatically.html

    All the best,
    Iana Tsolova
    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.
Back to Top