Hi
I've found a problem while using RadAjaxManager, a RadButton registered in its ajax setting to update an always visible asp.net panel containing an asp.net placeholder aimed to dinamically load an.ascx control (pnlItemDetails):
This is in a Content page:
the panel with the place holder
All things works as expected until a browser refresh is invoked (by F5 or the 'File Download warning' bar of Internet Explorer).
After the page refresh, if the button is clicked, all server events are executed but at the client side, after the rendering phase, the following javascript error is triggered:
Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_MainContent_pnlItemDetailsPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Now, I know that this problem is often related to the update of conditionally visible controls, but I have a container asp.net Panel that is always visible and this behaviour is only present after F5 refresh triggering.
It'seems that the F5 refresh fail somehow to get the full DOM and update panels to refresh
Please, I need some help in finding the source of this issue.
Thank You in advance,
Federico
I've found a problem while using RadAjaxManager, a RadButton registered in its ajax setting to update an always visible asp.net panel containing an asp.net placeholder aimed to dinamically load an.ascx control (pnlItemDetails):
This is in a Content page:
<
telerik:AjaxSetting
AjaxControlID
=
"BtnSelectItem"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlProjectDetails"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"PnlLocalMenu"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"pnlItemDetails"
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"navBarFader"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
the panel with the place holder
<
asp:Panel
ID
=
"pnlSelectedItem"
runat
=
"server"
>
<
asp:Panel
ID
=
"pnlItemDetails"
CssClass
=
"ProjectDetails"
runat
=
"server"
>
<
asp:PlaceHolder
ID
=
"phItemDetails"
runat
=
"server"
></
asp:PlaceHolder
>
</
asp:Panel
>
</
asp:Panel
>
All things works as expected until a browser refresh is invoked (by F5 or the 'File Download warning' bar of Internet Explorer).
After the page refresh, if the button is clicked, all server events are executed but at the client side, after the rendering phase, the following javascript error is triggered:
Sys.InvalidOperationException: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ctl00_MainContent_pnlItemDetailsPanel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Now, I know that this problem is often related to the update of conditionally visible controls, but I have a container asp.net Panel that is always visible and this behaviour is only present after F5 refresh triggering.
It'seems that the F5 refresh fail somehow to get the full DOM and update panels to refresh
Please, I need some help in finding the source of this issue.
Thank You in advance,
Federico