
When I moved the site over to a new server, I was getting an issue with Medium security level, which I fixed by setting the propertyRestoreOriginalRenderDelegate="false" on my RadAjaxManager and RadAjaxPanel controls per instructions on the forum - that is the only difference in code.
However, when I try to click the expand button in my grid on the new site, I get a page error:
Message: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_Content_ctl00_Content_grdProcessPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Line: 6
Char: 62099
Code: 0
Any ideas what could be causing this? Again, the only difference between this code and the code that works is my change to the propertyRestoreOriginalRenderDeleage property. I'm not sure what else to look for.
7 Answers, 1 is accepted
Try implementing one the other approaches for using RadAjax under Medium trust described in the below topic instead of setting RestoreOriginalRenderDelegate to false:
http://www.telerik.com/help/aspnet-ajax/ajax-in-medium-trust.html
Let me know how it goes.
Kind regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; MS-RTC LM 8; .NET4.0C; .NET4.0E; MSSDMC2.5.2219.1)
Timestamp: Thu, 30 Jun 2011 01:44:49 UTC
Message: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_Content_ctl00_Content_grdProcessPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Line: 6
Char: 62099
Code: 0
URI: http://.../Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_Content_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3de828f0-5e0d-4c7d-a36b-56a9773c0def%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.1.309.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a30afb63f-e6ac-41db-9851-11879733de0a%3a16e4e7cd%3aed16cbdc%3a58366029%3af7645509%3a874f8ea2%3a24ee1bba%3a19620875%3a33108d14%3abd8f85e4
This error usually come when you have nested ajax panels and at some point, one of the inner panels is not available. But to help you find what went wrong in your case, I will need to see the page code (markup and server code if you have some for adding ajax settings dynamically).
Kind regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

If you could open a formal support ticket, you can send us the files in a zip there. Otherwise, it would be great if you isolate the code further and share it here.
Kind regards,
Iana
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Looks like I can't submit a ticket at this point, so here's the code for the page that is throwing the error. I've included all the markup that looks relevant, and one method in the code behind that handles the the onAjaxRequest event for the RadAjax Manager.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
OnAjaxRequest
=
"RadAjaxManager1_AjaxRequest"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"grdProcess"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"grdProcess"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadAjaxPanel
ID
=
"pnlProcess"
runat
=
"server"
Width
=
"100%"
>
<
div
style
=
"background-image: url(./Images/Compassheader_small.gif); background-repeat: no-repeat; background-color: #367695;"
>
<
table
width
=
"100%"
style
=
"font-size: 14px; font-family:'segoe ui',arial,sans-serif; border: none;"
cellpadding
=
"0"
cellspacing
=
"0"
>
<
tr
style
=
"height: 40px; color: White;"
>
<
td
style
=
"width: 210px;"
> </
td
>
<
td
style
=
"text-align: left; width: 500px;"
><
a
href
=
"ProcessList.aspx"
style
=
"color: White;"
>Process List</
a
> > <
b
><
asp:Label
ID
=
"lblProcessNameTitle"
runat
=
"server"
Text
=
"Process Details"
></
asp:Label
></
b
></
td
>
<
td
style
=
"text-align:right; vertical-align:middle;"
>
<
asp:HyperLink
ID
=
"lnkEditProcess"
runat
=
"server"
Text
=
"Edit Process"
ForeColor
=
"White"
></
asp:HyperLink
> |
<
a
id
=
"lnkAddAttachment"
style
=
"color: White;"
href
=
"javascript:void(0);"
>Manage Attachments</
a
> |
<
a
id
=
"lnkManageUDC"
style
=
"color: White;"
href
=
"javascript:void(0);"
>Manage UDCs</
a
> |
<
a
id
=
"lnkToggleHeader"
href
=
"javascript:toggleProcessHeader();"
><
img
id
=
"headerToggleButton"
src
=
"Images/button-expand.gif"
alt
=
"Expand/Collapse Process Info"
border
=
"0"
/></
a
>
</
td
>
</
tr
>
</
table
>
</
div
>
<
div
id
=
"processDetailsHeader"
style
=
"display:none"
>
<
table
width
=
"1199px"
style
=
"font-size: 12px; font-family:'segoe ui',arial,sans-serif; border: 1px solid #7496CE;"
cellpadding
=
"5"
cellspacing
=
"2"
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label2"
runat
=
"server"
Text
=
"Name "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblProcessName"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label1"
runat
=
"server"
Text
=
"Description "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblDescription"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label3"
runat
=
"server"
Text
=
"Category "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblCategory"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label6"
runat
=
"server"
Text
=
"Company "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblCompany"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label5"
runat
=
"server"
Text
=
"Type "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblType"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"border-bottom: 1px solid #ccc; color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label4"
runat
=
"server"
Text
=
"Attachments "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"border-bottom: 1px solid #ccc; background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblAttachments"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
<
tr
><
td
align
=
"right"
style
=
"color:#222; background-color: #EFEFFF; width: 100px;"
><
asp:Label
ID
=
"Label7"
runat
=
"server"
Text
=
"Owner "
Width
=
"100px"
></
asp:Label
></
td
><
td
style
=
"background-color: #FEFEFF; color:#222; padding-left: 12px;"
><
asp:Label
ID
=
"lblOwner"
runat
=
"server"
Text
=
"Process"
></
asp:Label
></
td
></
tr
>
</
table
>
</
div
>
</
telerik:RadAjaxPanel
>
<
telerik:RadGrid
ID
=
"grdProcess"
> Large grid with nested grids </
telerik:RadGrid
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Vista"
InitialDelayTime
=
"5"
>
</
telerik:RadAjaxLoadingPanel
>
protected
void
RadAjaxManager1_AjaxRequest(
object
sender, AjaxRequestEventArgs e)
{
switch
(e.Argument)
{
case
"Process"
:
this
.RebindGrid(grdProcess.MasterTableView);
break
;
}
}
Can you in addition share the code for invoking the ajax request an specify which is the control invoking it?
Regards,
Iana
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!