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 231 | Next

Robin Pars, Laurence Moroney, and John Grieb

"Foundations of ASP.NET AJAX"

NET control (e.g.,
TextBox, Panel) with HTML content generated by a method either in the same page or an
external web service. Although using this extender can save much time and effort in
some cases, it??™s not ideal in all situations, such as when the back-end functionality is
abstracted away via various access layers. However, if you are using a web service directly
in your page and/or have some business logic in the same page, the DynamicPopulate
extender can be a good alternative to writing custom code to manually populate a control
with data. Table 8-2 lists the properties of this extender.
CHAPTER 8 ?–  USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 168
Table 8-2. DynamicPopulate Extender Properties
Property Name Description
CacheDynamicResults Boolean value indicating whether or not values fetched from a web
service should be cached for subsequent use. This is set to False by
default.
ClearContentsDuringUpdate Boolean value indicating whether or not the present content of the
target control should be cleared during the update.
ContextKey A key value used to pass context information to the data-providing
method.


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