Click here to Skip to main content
15,888,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
All,

I want to color specific row of a repeater dynamically.

Please let me know how to implement it.

Thanking You

Mohd Wasif
Posted
Updated 15-Oct-17 20:55pm
Comments
Parwej Ahamad 18-Jun-11 2:24am    
Please go through with below link:
http://stackoverflow.com/questions/911710/asp-net-repeater-control

 
Share this answer
 
This may help you Click here[^]
 
Share this answer
 
If your Repeater is within < Section > then you can apply the below style:


#team section {
padding: 5px 0 10px 0;
}
tr:nth-child(even) {
background: #FFF
}

tr:nth-child(odd) {
background: #E5F1FB
}
 
Share this answer
 
Comments
CHill60 16-Oct-17 7:33am    
The question is over 6 years old! Stick to answering newer questions where the OP still needs help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900