Sep 17, 2010, 2:11 PM
Change Radio button label color
Hi All,
Is it possible to change the color of a label of a radio button in asp.net it s done using syntax like :
Cheers ;)
Is it possible to change the color of a label of a radio button in asp.net it s done using syntax like :
RadioButtonList1.Items.FindByText("Radio").Attributes.Add("style", "color:red");
i tried : Radio1.Attributes.Add( Radio1.LabelStyle, "color:#456723");
Radio1.Attributes.Add("CssStyle", "color:blue");
Radio1.Attributes.Add("Style", "color:gray");
None of hem are working .any one has a better ideas Cheers ;)
Last edited by geoffrey.mcgill; Sep 17, 2010 at 4:32 PM.
Reason: please use [CODE] tags