Repeater .NET Server Control

The Repeater .NET server control is different from the previous controls because it doesn't have an inherent look to it. However, similar to the previous server controls, the Repeater must be bound to a data source to render. The Repeater does exactly what the name states: It repeats. Anything contained within the ItemTemplate is rendered once for each item in the Repeater. DataSource from the top to bottom. Because the Repeater doesn't have a default structure, it's great for creating lists quickly and has less overhead than the DataGrid or DataList.

Tip

The Repeater control is optimized for speed; hence, it has better performance than the DataGrid and DataList. Because you will typically use the Repeater for read ...

Get Programming Data-Driven Web Applications with 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.