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.

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

See also

Class wwWebRepeater

© West Wind Technologies, 2025 • Updated: 2025-03-12
Comment or report problem with topic