If you need to enable ASP.NET AJAX support on your web site, you will frequently need to place content portions onto UpdatePanel controls. Instead of doing this manually, use Surround with UpdatePanel (ASP.NET). It automatically surrounds the selected code block with the required tags.
This refactoring uses the selected code block to specify the content template for the newly created UpdatePanel. So, in addition to <asp:UpdatePanel> tags, it also creates nested <ContentTamplate> tags where it places the selected code.
Surround with UpdatePanel (ASP.NET) also creates a <ScriptManager> tag above the UpdatePanel declaration, if needed.