However, when the RefValues property is used, Minimum and Maximum values are empty. The
next example gets its data from a web service that just picks a random integer between 0
and 1000, either higher or lower than the existing value in the text box:
TargetControlID="TextBox3"
Tag=""
Width="120"
ServiceUpPath="NumericUpDown.asmx"
ServiceDownPath="NumericUpDown.asmx"
ServiceUpMethod="NextValue"
ServiceDownMethod="PrevValue"
RefValues=""
TargetButtonDownID=""
TargetButtonUpID="" />
Because the NumericUpDown extender allows you to specify different web services for
the increment and decrement functionality, there are also different properties in which to
state them. ServiceUpPath and ServiceDownPath each define the necessary web services,
whereas the ServiceUpMethod and ServiceDownMethod define the desired web method for
providing the data for incrementing or decrementing the value of the target TextBox. Here
is an example of using the NumericUpDownExtender with images for Up and Down buttons:
TargetControlID="TextBox4"
Width="80"
TargetButtonDownID="img1"
CHAPTER 8 ?– USING THE ASP.
Pages:
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267