Repeater Control

The Repeater control has no selection or editing support. It can handle and process some events, but these are limited. For a richer event model and editing capabilities, you should use the DataList or the DataGrid controls. The reason you might select the Repeater control, though, is for its simplicity. It is a lightweight data bound control that is easy to use. Table 10.1 shows you the templates that can be used with a Repeater control and describes their use.

The Repeater is a simple data bound list control. It enables you to easily render data to the screen. Several templates can be used to customize the output of the Repeater. Among these are the ItemTemplate, the AlternatingItemTemplate, the SeparatorTemplate, the HeaderTemplate, ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.