SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 232 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"


CustomScript Name of custom script to be used instead of a web service method
for fetching data.
PopulateTriggerControlID ID of the control that will trigger the update on the target control
(where the data will be displayed).
ServiceMethod Name of the web method used to retrieve the data.
ServicePath Path of the web service used to retrieve the data.
TargetControlID Target control of the DynamicPopulate extender.
UpdatingCssClass CSS class applied to the target control while its inner content is
being updated.
The following code segment displays the current date onto a Panel control. It gets the
date from a web service method called GetHtml as set in the ServiceMethod property:
TargetControlID="Panel1"
ClearContentsDuringUpdate="true"
PopulateTriggerControlID="Label1"
ServiceMethod="GetHtml"
UpdatingCssClass="dynamicPopulate_Updating" />
The GetHtml method is provided as a web service in the same page, DynamicPopulate.
aspx, for the purposes of this example. Based on the contextKey parameter (which is
passed to it via the various radio buttons for date formatting), this method returns the
date with appropriate formatting after a 250ms delay.


Pages:
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244