NET AJAX
tools to implement dragging and dropping of various controls on the page without page
postbacks. However, trying to implement a data-bound list still requires much work to
allow the user to reorganize the order of the items. The ReorderList control can be
applied to a bound object source, such as an ObjectDataSource control, and provide AJAXstyle
reordering of the bound items. Table 8-13 lists the main properties of this control.
Table 8-13. ReorderList Control Properties
Property Name Description
AllowReorder Boolean value indicating whether or not to enable reordering of the
items in the list.
DataKeyField Field containing the primary key for the underlying data source.
DataMember Designated field name in the specified data source.
DataSource Data source object used to bind to the ReorderList control.
CHAPTER 8 ?– USING THE ASP.NET AJAX CONTROL TOOLKIT (PART 2) 192
DataSourceID ID of the data source control used to retrieve the list of items.
DragHandleAlignment Layout alignment of the drag handle (Top, Bottom, Left, Right).
DragHandleTemplate Markup/template used for the drag handle.
Pages:
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278