Since upgrading our Telerik controls in July (from version to 2010.3.1317.40 to 2011.1.519.40) we have intermittently received the following error in our logs:
Sys.InvalidOperationException: Could not find UpdatePanel with ID 'myMasterPage_ctl18_myMasterPage_cph_myUserControl_5_anotherUserControl_pnlMyPanelPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
I have not been able to replicate the problem - these errors are coming from my users and I am seeing them in my logs. They started occurring the day that I upgraded the Telerik dll.
I understand that usually errors of this type occur if the ajaxified control is invisible.
However, I am certain that the control is not invisible. There is no reason it should be invisible. To try and debug the issue, I have setup additional logging during the OnPreRender phase like this:
protected override void OnPreRender(EventArgs e)
{
_log.Debug("Is pnlMyPanel visible: " + pnlMyPanel.Visible);
base.OnPreRender(e);
}
The ajaxified panel is always visible according to these logs, yet the error is still occurring.
Any tips how I can go about solving this issue?
UPDATE: Sorry, the title of this post is wrong. The ClientID of the ajaxified panel is correct, but for some reason RadAjax is unable to find the panel.
Sys.InvalidOperationException: Could not find UpdatePanel with ID 'myMasterPage_ctl18_myMasterPage_cph_myUserControl_5_anotherUserControl_pnlMyPanelPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
I have not been able to replicate the problem - these errors are coming from my users and I am seeing them in my logs. They started occurring the day that I upgraded the Telerik dll.
I understand that usually errors of this type occur if the ajaxified control is invisible.
However, I am certain that the control is not invisible. There is no reason it should be invisible. To try and debug the issue, I have setup additional logging during the OnPreRender phase like this:
protected override void OnPreRender(EventArgs e)
{
_log.Debug("Is pnlMyPanel visible: " + pnlMyPanel.Visible);
base.OnPreRender(e);
}
The ajaxified panel is always visible according to these logs, yet the error is still occurring.
Any tips how I can go about solving this issue?
UPDATE: Sorry, the title of this post is wrong. The ClientID of the ajaxified panel is correct, but for some reason RadAjax is unable to find the panel.