DataRepeater border style

0
0

Hi,

could you please show me how to set different border color for each item depending on its data.

Thanks for your help,

Page

  • You must to post comments
0
0

Hi Page,

You can update the border color in the ItemUpdate handler of the DataRepeater. Check out the sample I attached.

You just need to apply some CSS to change the color, i.e.,

Control.CssStyle = "border-color: green;";

In this case, I change the color for every other row.

Please let me know if you have any more questions!

Best,

Levie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.