<%
' Create an UpdatePanel to load the content into.
dim myPanel
Set myPanel = ASPAjax.CreateUpdatePanel
myPanel.Id = "MainContent"
myPanel.ChildrenAreTriggers = true
myPanel.FetchWholeDocument = true ' Retrieve the whole target URL to the UpdatePanel
myPanel.RegisterTriggerGroup("PageNav") ' DOM object PageNav's child nodes now activate the UpdatePanel
myPanel.Open
%>
Main Cotent
Remote page content loaded by AJAX here.
This example shows how to load dynamic content from other pages using AJAX. This functionality elegantly replaces IFRAME technology.
<%myPanel.Close%>
<%
ASPAjax.Close()' Close ASPajax at the end of the HTML
%>