(All template-based
properties derive from ITemplate and can be assigned
programmatically as well.)
EditItemTemplate Markup/template used when the item is edited.
EmptyListTemplate Markup/template used when there are no underlying items.
InsertItemTemplate Markup/template used to create a new item.
ItemInsertLocation Location of the newly created item (Beginning or End of the list).
ItemTemplate Markup/template used to display an individual item.
PostbackOnReorder Boolean value indicating whether or not to initiate a postback each
time an item is reordered.
ReorderTemplate Markup/template used to show where the new item is being relocated
to.
SortOrderField The key field in the data used to sort the list.
ShowInsertItem Boolean value indicating whether or not to display the inserted item.
As you can see by the properties, the ReorderList control not only provides the ability
to manually drag and drop items to different positions in the list, it can also perform auto
sorting if specified in its property, SortOrderField. One classic case for a list of items that
can really take advantage of a reordering functionality is a to-do list of tasks including
items whose priority can change.
Pages:
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279