radio button list selection

egdotnet

Regular
Joined
May 16, 2004
Messages
50
i have a radio buttonlist, which is populated from an xml file at runtime so sometimes, the text of an entry is repeated one or more times. in those cases, when you selected a repeated entry, it selects the first one with that text. how do i stop it from going to the first entry?
 
Its because they have the same value. Each item in the radiobutton list has a text property and a value property. If 2 items have the same value, selecting any will always select the first one. Try setting unique values for each item...
 
Back
Top