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

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

1 Answer 74 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Anurag asked on 24 May 2012, 09:52 AM
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"












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



User control code




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




<AjaxSettings >




<telerik:AjaxSetting AjaxControlID="mvwDriver1" >




<UpdatedControls >




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
















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











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








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




style="border: 0px;" />







Anurag Sharma

1 Answer, 1 is accepted

Sort by
Iana Tsolova
Telerik team
answered on 25 May 2012, 02:04 PM

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:

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.
Asked by
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question