Using the ASP.NET UpdatePanel Control with Master Pages
Any ASP.NET page that includes an http://ajax.asp.net/docs/mref/T_System_Web_UI_UpdatePanel.aspx control also requires a http://ajax.asp.net/docs/mref/T_System_Web_UI_ScriptManager.aspx control. To use http://ajax.asp.net/docs/mref/T_System_Web_UI_UpdatePanel.aspx controls with master pages, you can put a http://ajax.asp.net/docs/mref/T_System_Web_UI_ScriptManager.aspx control on the master page. In this scenario, the master page provides a http://ajax.asp.net/docs/mref/T_System_Web_UI_ScriptManager.aspx control for every content page. If you do not want partial-page updates enabled for individual content pages, you can disable partial-page updates for those pages.
Alternatively, you can put the http://ajax.asp.net/docs/mref/T_System_Web_UI_ScriptManager.aspx control on each content page. You might do this if only some of the content pages will contain http://ajax.asp.net/docs/mref/T_System_Web_UI_UpdatePanel.aspx controls.
You can see the code in action in this tutorial by clicking the Run It buttons. To implement the procedures in your own development environment you need:
-
Visual Web Developer Express Edition or Microsoft Visual Studio 2005.
-
The latest release of Microsoft ASP.NET AJAX installed and configured. For more information, see http://ajax.asp.net/docs/InstallingASPNETAJAX.aspx.
-
An ASP.NET AJAX Web site
check out complete example
http://ajax.asp.net/docs/tutorials/UsingUpdatePanelMasterPages.aspx