NET AJAX CONTROL TOOLKIT (PART 2) 184
TargetButtonUpID="img2"
RefValues=""
ServiceDownMethod=""
ServiceUpMethod="" />
Lastly, the preceding code segment demonstrates how to have image buttons replace
the plain up and down arrows for incrementing or decrementing the value inside the
TextBox. You can use the TargetButtonDownID and TargetButtonUpID properties to specify
desired images to replace the standard buttons, but keep in mind that there are no references
to image files but rather ASP.NET ImageButton controls. Figure 8-9 shows the
NumericUpDown.aspx file containing all four samples.
Figure 8-9. Four samples of using the NumericUpDown extender for incrementing/
decrementing values
PasswordStrength Extender
At times, security is of particular concern in your web application, and you may need to
consider enforcing a password policy, most commonly in a login page. Although it??™s possible
to do so today with existing validation controls and/or custom code, it can be
somewhat tedious to enforce a password policy along with responsive user feedback
without postbacks.
Pages:
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268