What causes the 'Cannot unregister UpdatePanel' error?

前端 未结 8 1245
长情又很酷
长情又很酷 2020-12-17 17:22

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

8条回答
  •  萌比男神i
    2020-12-17 17:46

    This is a bit of a long shot, but I've had experiences with the AJAX extensions, specifically with the update panel, in which errors thrown by child controls were manifesting themselves as a different error thrown by the update panel. I did see a reference to this specific error being thrown due to an error in a child control:

    http://msmvps.com/blogs/shareblog/archive/2009/03/11/cannot-unregister-updatepanel-with-id-since-it-was-not-registered-with-the-scriptmanager-and-moss.aspx

    Not sure if this is the case for you or not, but I've spent many hours chasing down the wrong errors because of this.

提交回复
热议问题