| |||||||||||||||
Repeater ClassSystem.Web.UI.WebControls Namespace A data-bound list control that renders its content using a specified template for each item in the list.
RemarksThe Repeater is a data-bound container control that uses templates to define the rendering of its content. The control has no built-in layout or style; all HTML layout, formatting, and style tags must be explicitly declared within the control's templates. At a minimum, every Repeater must define an ItemTemplate, though optional templates are available to customize the appearance of the list:
A Repeater has no built-in selection or editing support. The control includes the ItemCommand event, though, which can be used to handle events that are raised from the templates and passed to the control. A Repeater binds its ItemTemplate and AlternatingItemTemplate to a data model referenced by its DataSource property. The HeaderTemplate, FooterTemplate, and SeparatorTemplate are not data-bound. If the data source is not set, the Repeater is not rendered. If the data source is set but no data is returned, the control renders the HeaderTemplate and FooterTemplate, with no items. For examples illustrating use of this control, see the individual member types of this class. For syntax information, see Repeater in ASP.NET Syntax for Web Controls. See AlsoWorking with the Repeater Control |
| ||||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme