Sleep(400);
e.CallbackResult = "Update done. Value = " + e.Value + " Tag = " + e.Tag;
}
Beyond these basic properties, there are a few CSS-based properties such as WaitingStarCssClass
and FilledStarCssClass for various states of the control. In addition to
that, in the OnChanged event, you can specify a server-side method to implement more
custom logic. You can see an example running on the browser in Figure 8-12.
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 191
Property Name Description
Figure 8-12. Rating control being used to rate a person??™s preference of Thai food
ReorderList Control
In many web and desktop applications, you may have come across the typical UI construct
for reordering lists that is often done by two buttons (one for Up and another for
Down) placed adjacent to the list itself. The user then has to select the item in the list and
click the appropriate button enough times to get the selected item in the designated
position. It would certainly be nice to be able to simply drag the item to the desired position
instead.
You have already seen how easy it is with the controls provided in the ASP.
Pages:
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277