I am trying add an attribute to ListItem object. The ListItem is part of a CheckBoxList. But, the added attribute never gets rendered. Any clue?
ListItem li = new ListItem("name","value");
accsCheckList.Add(li); //accsCheckList is the CheckBoxList
accsCheckList.Items[i].Attributes.Add("onClick","return checkPIME(this);");