.net - Is there a possibility to assign CssClass to CheckBox within CheckBoxList -
i need assign display style (cssclass) every checkbox within checkboxlist. separately every checkbox. , last requirement have on server side within .net code.
not explicitly. can use attributes:
listitem myitem = checkboxlist1.items[itemindex]; myitem.attributes["bgcolor"] = "lightblue";
as far having each checkbox use cssclass, each checkbox listitem , class not support cssclass.
Comments
Post a Comment