How can I change ListItem background color based on value of Label in dynamically created ListItem? For example, I have a List on a page with one ListItem. In the ListItem I have a grid with 2 columns which contain a label and 1 row. Based on the text of the label I would like to change background color at runtime.