ListItem Attributes not rendering
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
I add attributes to my list items in a CheckBoxList. I would assume that the attributes would be rendered into the of each item. But the attributes are not rendered anywhere. I tried adding the attributes to the item before I added the item to the CheckBoxList. I tried adding the attributes in OnPreRender() by iterating through all the items in the CheckBoxList. I tried inheriting from ListItem so I could render them myself, but the class is Sealed. Thanks for any help anyone can give.