开发者

One selectable RadioButton inside DataList

开发者 https://www.devze.com 2023-01-21 13:00 出处:网络
I am trying to implement multiple choice questions within my web application. I have datalist within a datalist. First datalist contains questions, second datalist contains choice, only one choice sho

I am trying to implement multiple choice questions within my web application. I have datalist within a datalist. First datalist contains questions, second datalist contains choice, only one choice should be selectable at a time. I am using radio button. Even though I have set RadioButton.GroupName property, I can't make them selectable one at a time.

Pl开发者_Python百科ease help.


Use a RadioButtonList, only one RadioButton of a RadioButtonList can be selected. Use the RadioButtonList instead of the second DataList.


Use CheckBox instead of RadioButton

0

精彩评论

暂无评论...
验证码 换一张
取 消