This will only work if you set the autopostback of the dropdown = true In VB all you have to do is, doubleclick on your radiobuttonlist/checkboxlist and add Me .answer1_rdlst.SelectedItem.Attributes.Add( "style" , "background-color:red" ) into the SelectedIndexChanged event Hope this...
Posted to
Data Presentation Controls
(Forum)
by
sabera.patel
on
11-27-2008, 12:00 AM
Filed under: radio buttono list, RadioButtonlist, radiolists, selected value, SelECTedIndex, SelectedIndexChanged, VB 2005, changing BG colour, changing text colour, checkbox, DataLististItem DataList, DataRow, checkboxlist, CheckChanged, selected index changed, Radio buttons, radiobuttonlist collection bind arraylist