Alternating row color on repeater control

29 Aug

<style type=”text/css”>
background-color: #FCFCFC;
background-color: #ECECEC;



<asp:Repeater ID=”rpsize” runat=”server”  >
<li class='<%# Container.ItemIndex % 2 == 0 ? “normalRow” : “alternateRow” %>’ >

<span><%# Eval(“vchSizeName”) %></span>



1 Comment

Posted by on August 29, 2013 in ASP Dot Net C#


Tags: , ,

One response to “Alternating row color on repeater control

  1. Wendell

    September 23, 2013 at 9:20 am

    The Kettic Color Dialog WinForm Control is a light weight component and can build custom color from the web, system, and basic colors.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: