mharley
February 27th, 2007, 02:46 PM
I have set up a datalist, and originally I specified all of the style effects in the properties window, but I later went back and added classes to my stylesheet to handle this. However, the app never applies those classes at runtime. Everything looks ok in the design window, but at runtime the style changes do not appear. I know that the stylesheet isn't the problem because everything else on the page draws from it without problem. It's only the ItemStyle, SelectedItemStyle and AlternatingItemStyle that are having the problem. The classes are almost identicle (and extremely basic), and I'll post one below. Any thoughts?
.datalistSelectedItemStyle
{
color: #005B74;
background-color: #ffffff;
}
.datalistSelectedItemStyle
{
color: #005B74;
background-color: #ffffff;
}