System.Web.UI.WebControls Namespace Repeater Class
Specifies the template to use for separators between items in a Repeater.
<asp:repeater ... >
<separatortemplate>
... template definition here
</separatortemplate>
</asp:repeater>
An ITemplate interface that defines how separators between items of a Repeater control are rendered.
The property is read/write with no default value.
The SeparatorTemplate describes the layout of elements to render between each row. The separator allows to place an element with custom content between each item in the Repeater, typically line breaks ( <br> tags ), horizontal lines ( <hr> tags ), and so on.
To specify a template for the separator in a Repeater, place a <SeparatorTemplate> element between the opening and closing tags of the control. You can then list the contents of the template between the opening and closing <SeparatorTemplate> ... </SeparatorTemplate>
tags.
NOTE: The SeparatorTemplate item cannot be data bound.
Repeater Members ItemTemplate AlternatingItemTemplate HeaderTemplate FooterTemplate