YSOD: Cannot unregister UpdatePanel with ID 'oh_upSchedule' ...
Great package, Lennart. All was good for a couple of weeks until now. Suddently I get an YSOD, when I try to edit a page containing your control. Umbraco Version is 4.7.2, upgraded from 4.7.1.1. two weeks ago. OH was installed on 4.7.1.1.
Any ideas? Thanks!
Sami
Server Error in '/' Application.
Cannot unregister UpdatePanel with ID
'oh_upSchedule' since it was not registered with the ScriptManager. This
might occur if the UpdatePanel was removed from the control tree and
later added again, which is not supported. Parameter name: updatePanel
Description: An unhandled exception occurred during
the execution of the current web request. Please review the stack trace
for more information about the error and where it originated in the
code.
Exception Details: System.ArgumentException: Cannot
unregister UpdatePanel with ID 'oh_upSchedule' since it was not
registered with the ScriptManager. This might occur if the UpdatePanel
was removed from the control tree and later added again, which is not
supported. Parameter name: updatePanel
Source Error:
An unhandled exception was generated during the execution of the current
web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Cannot unregister UpdatePanel with ID 'oh_upSchedule' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel]
System.Web.UI.PageRequestManager.UnregisterUpdatePanel(UpdatePanel updatePanel) +535476
System.Web.UI.ScriptManager.System.Web.UI.IScriptManagerInternal.UnregisterUpdatePanel(UpdatePanel updatePanel) +49
System.Web.UI.UpdatePanel.OnUnload(EventArgs e) +2561718
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +241
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
System.Web.UI.Control.UnloadRecursive(Boolean dispose) +175
System.Web.UI.Control.RemovedControl(Control control) +66
System.Web.UI.ControlCollection.RemoveAt(Int32 index) +102
System.Web.UI.ControlCollection.Remove(Control value) +31
System.Web.UI.Control.AddedControl(Control control, Int32 index) +9044452
System.Web.UI.ControlCollection.Add(Control child) +79
Our.Umbraco.DocTypeFieldsets.Events.CreateFieldsets.GetFieldset(Panel controls, String fieldset) +365
Our.Umbraco.DocTypeFieldsets.Events.CreateFieldsets.ContentControl_AfterContentControlLoad(ContentControl contentControl, ContentControlLoadEventArgs e) +1849
umbraco.controls.ContentControl.FireAfterContentControlLoad(ContentControlLoadEventArgs e) +27
umbraco.controls.ContentControl.OnLoad(EventArgs e) +38
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Control.LoadRecursive() +146
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Just to chime in, we encountered the same error when using the Document Type Fieldsets package with defined fieldsets on the same page as an Opening Hours-based data type.
YSOD: Cannot unregister UpdatePanel with ID 'oh_upSchedule' ...
Great package, Lennart. All was good for a couple of weeks until now. Suddently I get an YSOD, when I try to edit a page containing your control. Umbraco Version is 4.7.2, upgraded from 4.7.1.1. two weeks ago. OH was installed on 4.7.1.1.
Any ideas? Thanks!
Sami
Server Error in '/' Application.
Cannot unregister UpdatePanel with ID 'oh_upSchedule' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Parameter name: updatePanel
Exception Details: System.ArgumentException: Cannot unregister UpdatePanel with ID 'oh_upSchedule' since it was not registered with the ScriptManager. This might occur if the UpdatePanel was removed from the control tree and later added again, which is not supported.
Parameter name: updatePanel
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Hi sami,
I'm not sure what could be causing this. Are you by any chance using any other 3rd party data types on the same page?
Grtz
L
Hi,
Just to chime in, we encountered the same error when using the Document Type Fieldsets package with defined fieldsets on the same page as an Opening Hours-based data type.
Ah I see, I should be able to reproduce the error locally then.
I will look into it when I have a free moment and see if I can come up with a solution (unless Tom Fulton beats me to it ;-))
is working on a reply...