DynamicPopulate is a simple extender that replaces the contents of a control with the result of a
web service or page method call. The method call returns a string of HTML that is inserted as the
children of the target element.
The control above is initialized with this code. The properties in italic are optional. The
CustomScript or the ServiceMethod field needs to be specified.
<ajaxToolkit:DynamicPopulateExtender ID="dp" runat="server"
TargetControlID="Panel1"
ClearContentsDuringUpdate="true"
PopulateTriggerControlID="Label1"
ServiceMethod="GetHtml"
UpdatingCssClass="dynamicPopulate_Updating" />
|
How Do I: Use the ASP.NET AJAX DynamicPopulate Extender?
Watch a demonstration of using the ASP.NET AJAX DynamicPopulate extender to dynamically populate an area of a web page with the results of an asynchronous call to a web method.
Watch the Video
|