O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required