System.Web.UI.WebControls Namespace ListItem Class
Returns a collection of attribute name and value pairs for the ListItem that are not directly supported by the class.
Script |
ListItem.Attributes [ strAttribute ] [ = strValue ] |
This property can only be used programmatically; it cannot be set when declaring the control.
A System.Web.UI.AttributeCollection of name and value pairs.
Use the Attributes collection to manage the attribute name and value pairs declared in the opening and closing tags of the ListItem, but not directly supported by the class.
This property can also be used to set or retrieve the individual attribute items in the collection. You can programmatically add to, or remove attributes from, the collection.
ListItem Members