I am using a repeater control that shows data for some table. Each row in the repeater contains two columns: an icon (red/yellow/green circle) and an explanation.
I have to Goals, the first goal is to create the same repeater only now I need it to be horizontal. The second goal is that I need each icon (red/ green/ yellow circle) to be a button so that when I press on one of the icons, an event occurs (doesn’t matter what, say Response.Write(“Green is Pressed”);
Can you help me?
To make it horizontal you can use the
lilist asinline, a css trick. The full code for that :and on code behind:
and you have a render like: