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

Sys.InvalidOperationException: Could not find UpdatePanel with ID

1 Answer 296 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 08 Apr 2011, 04:11 PM
I thought I'd post this to possibly help those with the same issue and not loose a day as I did.

Error: Sys.InvalidOperationException: Could not find UpdatePanel with ID

The scenario...

A page with 3 usercontrols
the user controls contain radgrids, radwindows for editing records in the grids and other controls.

The RadAjaxManager is on the aspx page with RadAjaxProxies on the ascx pages.

Even if you do not have an updating event to one of the 3 usercontrols, you must include a RadAjaxProxy without any AjaxSettings or you may experience this error.  It is my belief that once a AjaxManager is placed and Proxies on the content controls, all content controls need a proxy.

Can someone from Telerik confirm this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 11 Apr 2011, 11:38 AM
Hello Daniel,

It is not obligatory to have RadAjaxManagerProxy controls in all user controls loaded dynamically. In fact the error you mentioned means you have ana ajax setting for control which is not already available on the page. To overcome that problem, one should add ajax settings for controls that are visible and available on the page. If there is possibility for a control not to be available, then you should add the ajax settings for it dynamically on page_Load or Page_PreRender only for the cases it is visible/available.

Greetings,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Ajax
Asked by
Daniel
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or