wwWebRepeater::IsAlternatingItem

Flag that determines if during rendering an alternating item is active.

Allows you to create quick switches in the ItemTemplate without having to have a separate AlternatingItemTemplate.

<ItemTemplate>
<div class="<%= iif(THIS.Repeater1.IsAlternatingItem,'gridalternate','gridnormal') %>">
   <%= company %><br>
   <%= Lastname %> - <%= DateEntered %>
</div>
</ItemTemplate>

o.IsAlternatingItem

See also:

Class wwWebRepeater

© West Wind Technologies, 1996-2024 • Updated: 05/28/08
Comment or report problem with topic