Asp.Net 中将多个RadioButton指定在一个组中
使用RadioButton的GroupName属性。
例如:<asp:RadioButton ID="radOne_Tmp" runat="server" Text='<%#Eval("Template_Name") %>' GroupName="radOne_Tmp" ToolTip='<%#Eval("ID") %>' />
本文介绍了在ASP.NET中如何使用RadioButton的GroupName属性来将多个RadioButton控件分组。通过设置相同的GroupName值,可以实现一组RadioButton只能选择一个的效果。
Asp.Net 中将多个RadioButton指定在一个组中
使用RadioButton的GroupName属性。
例如:<asp:RadioButton ID="radOne_Tmp" runat="server" Text='<%#Eval("Template_Name") %>' GroupName="radOne_Tmp" ToolTip='<%#Eval("ID") %>' />

被折叠的 条评论
为什么被折叠?