Aug 12, 2015, 5:56 AM
changing radio style or radio label style when radio checked
hi guys, i want to change radio style or radio label style when radio checked , my code is
radioGrup.Add(new Radio
{
BoxLabel = sik.Metin,
ID = "rd_" + soru.Id + "_" + sik.Id,
PaddingSpec = "5 10 5 0",
Width = 150,
Listeners = { Change = { Handler = "if(this.checked){this.boxLabelCls=test; X.CevapKaydet('" + soru.Id + "','" + sik.Id + "');}" } }
});
the test class is;
<style type="text/css">
.test {
background-color: red;
}
</style>
but i am getting test is not defined , how can do this? i