egdotnet Posted September 11, 2004 Posted September 11, 2004 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? Quote
wessamzeidan Posted October 4, 2004 Posted October 4, 2004 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... Quote Proudly a Palestinian Microsoft ASP.NET MVP My Blog: wessamzeidan.net
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.