日期:2014-05-17  浏览次数:20378 次

vs2008 radiobutton控件小问题求解决!
<asp:RadioButton ID="rdoId" runat="server"/>
就插了个radiobutton控件,页面上表格里可以同时选中多个radiobutton了
效果像checkbox了为什么不能单选了呢,应该如何设置属性?
我页面上的表格是repeater控件循环出来了,所以一个表里有10几个radiobutton的

------解决方案--------------------
radiobutton分组设置
------解决方案--------------------
GroupName
------解决方案--------------------
<asp:RadioButton ID="RadioButton1" runat="server" GroupName="sameGroup"/>
------解决方案--------------------
GroupName属性设置一样就好了。。。