Cannot unregister updatepanel since it was not registered with the scriptmanager error
This error is a pesky one. You will most likely encounter it when you're trying to dynamically load an UpdatePanel within an itemTemplate in a datagrid, or some similar control with dynamically created items. In my case: in a datagrid, and specifically within an item template in that grid. Here is the solution that has worked [...]