9 Using Repeaters

9.1 Repeater basics

The repeater is probably the single most powerful feature of SASP: every control in SASP can be repeated. There is no need to wrap a control inside a special repeater control, but simply attaching a repeater and datasource to the server-side control should do the trick. In fact, a repeater is always present, adding the DataSource? is all that is required.

  • every control is a repeater
  • define item label
  • define repeater source: attributes or in code
  • RepeatedItemInfo?

9.2 Databinding

  • define custom databound

9.3 Selecting items

  • selecting items
  • selecting multiple items
  • select by index
  • select by item

9.4 Using item ids

  • property/field
  • id generator
  • select by item id

9.5 Paging

- using datapager