Example: ajax_reorderlist

This example shows an element in a list being moved from position no.5 to position no.1 (0 is the first position).

web_text_link("ReorderList",
  "Snapshot=t1.inf",
  DESCRIPTION,
  "Text=ReorderList",
  ACTION,
  "UserAction=Click",
  LAST );

ajax_reorderlist
("ReorderList_2",
  "Snapshot=t1.inf",
  DESCRIPTION,
  "Framework=atlas",
  "ID=ctl00_SampleContent_ReorderList1__rbl",
  ACTION,
  "UserAction=Move",
  "newIndex=1",
  "oldIndex=5",
  LAST );