Jay_Vora_b4843e

hey i hv found a way to group web radio btns ..

to group HTML cntrols it s easy..

  1. Drag a GroupBox or Panel control from the Windows Forms tab on the Toolbox onto the form.

  2. Draw RadioButton controls on the GroupBox or Panel




Re: Show and Tell found a way for grouping radio buttons.

Jay_Vora_b4843e

another easy way i got...ASP.NET

see... create 3 radiobuttons..

go to html code . for each radio buton write attribute Groupname..

like

<asp:RadioButton id="RadioButton1" runat="server" GroupName="MyGroup"></asp:RadioButton>
<asp:RadioButton id="RadioButton2" runat="server" GroupName="MyGroup"></asp:RadioButton>






Re: Show and Tell found a way for grouping radio buttons.

Jay_Vora_b4843e

using radiobuttonlist..

<asp:radiobuttonlist id="radio1" runat="server">

<asp:listitem id="option1" runat="server" value="Madrid" />

<asp:listitem id="option2" runat="server" value="Ohio" />

<asp:listitem id="option3" runat="server" value="Lisbon" />

</asp:radiobuttonlist>