Hi everyone,
At the moment I am using the syntax of:
<asp:radiobuttonlist id="rdDrive" runat="server" RepeatLayout="Table"
RepeatColumns="2">
<asp:ListItem Value="1" text="Yes"></asp:ListItem>
<asp:ListItem Value="0" text="No"></asp:ListItem>
</asp:radiobuttonlist>
But what I prefer to do to give me greater layout flexibility is have
one radio in one <TD> cell and another in another <TD> cell. So headers
can be added above the corresponding radio buttons (instead of the side
of the radio).
I know I can use:
<asp:RadioButton id="radio1" groupname="Drive" runat="server" />
<asp:RadioButton id="radio2" groupname="Drive" runat="server" />
but when it comes to requesting the value of the "Drive" group is there
a neat way to loop round the Drive group and find the selected value? (I
may have many radios in the Drive group and don't want to request each
an every radio to see if it is selected.)
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!