asp.net.ph

Repeater.SeparatorTemplate Property

System.Web.UI.WebControls Namespace   Repeater Class


Specifies the template to use for separators between items in a Repeater.

Syntax

<asp:repeater ... >

   <separatortemplate>
      ... template definition here
   </separatortemplate>

</asp:repeater>

Property Value

An ITemplate interface that defines how separators between items of a Repeater control are rendered.

The property is read/write with no default value.

Remarks

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.

See Also

Repeater Members   ItemTemplate   AlternatingItemTemplate   HeaderTemplate   FooterTemplate Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 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 asp.net.ph