What causes the 'Cannot unregister UpdatePanel

2020-02-10 15:13发布

I've got a UserControl that contains an UpdatePanel. When I put that on a page, it throws the following error:

Cannot unregister UpdatePanel with ID 'ReviewContentUpdatePanel' 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

ReviewContentUpdatePanel is the name of the update panel & it's not being removed or added in code, it exists in the aspx page and isn't removed. Has anyone come across this before?

8条回答
你好瞎i
2楼-- · 2020-02-10 15:47

Have you tried including a ScriptManagerProxy in the user control?

查看更多
三岁会撩人
3楼-- · 2020-02-10 15:49

I had this happen once before. To fix it, I just deleted it and then re-created it and the problem went away.

查看更多
登录 后发表回答