| 1 | | == 9. Using Repeaters == |
| 2 | | === 9.1. Repeater basics === |
| 3 | | - every control is a repeater |
| 4 | | - define item label |
| 5 | | - define repeater source: attributes or in code |
| 6 | | - RepeatedItemInfo |
| 7 | | === 9.2. Databinding === |
| 8 | | - define custom databound |
| 9 | | === 9.3. Selecting items === |
| 10 | | - selecting items |
| 11 | | - selecting multiple items |
| 12 | | === 9.4. Paging === |
| | 1 | == 9 Using Repeaters == |
| | 2 | === 9.1 Repeater basics === |
| | 3 | 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. |
| | 4 | * every control is a repeater |
| | 5 | * define item label |
| | 6 | * define repeater source: attributes or in code |
| | 7 | * RepeatedItemInfo |
| | 8 | === 9.2 Databinding === |
| | 9 | * define custom databound |
| | 10 | === 9.3 Selecting items === |
| | 11 | * selecting items |
| | 12 | * selecting multiple items |
| | 13 | * select by index |
| | 14 | * select by item |
| | 15 | === 9.4 Using item ids === |
| | 16 | * property/field |
| | 17 | * id generator |
| | 18 | * select by item id |
| | 19 | === 9.5 Paging === |