VB Source Code: AJAXBeta2UpdatePanelNested_VB.zip
C# Source Code: AJAXBeta2UpdatePanelNested_CS.zip
This is the third in a series of blog posts about Microsoft ASP.Net AJAX, a new web development technology from Microsoft.
The first and second post in this series introduced Ajax technologies and Microsoft AJAX, and, in a 'Hello World' example, introduced the UpdatePanel server control.
Nest UpdatePanel Controls
UpdatePanel controls can be nested.
Nesting an UpdatePanel within another UpdatePanel gives a finer level of control over partial page rendering.
If a parent UpdatePanel is refreshed, all nested UpdatePanels are also refreshed as well.
If a nested UpdatePanel is refreshed its parent UpdatePanel is by default, not refreshed.
The source code included with this post (see download links above) demonstrates how to implement partial page rendering with the ASP.NET 2.0 ScriptManager and an UpdatePanel containing a nested UpdatePanel control. Additional comments about these controls is included in the example page and source code.
The source code was created with ASP.NET AJAX 1.0 Beta 2 which is available at -> The Official Microsoft ASP.Net AJAX Website
The next post in this series will delve more deeply into partial page rendering with the UpdatePanel control.
For more information and FREE Microsoft ASP.NET Ajax installers visit -> The Official Microsoft ASP.Net AJAX Website
mike mcintyre http://www.getdotnetcode.com