-
Jan 19th, 2015, 09:05 AM
#1
Thread Starter
Hyperactive Member
radiobuttons in repeaters
Hi all,
I have found some information about this, but what I have found doesn't really apply to my situation so I'm hoping someone here may know.
I am using a repeater to generate rows in a table. for each row, I have three separate radio buttons, call them rdoA, rdoB, and rdoC.
When the repeater generates the code, the radio buttons A B and C on row one are all functioning completely as expected, click one, the others are unclicked. I use the group name Pricing to get the functionality working as expected. Here's the code snippet:
Code:
<td class="tableDataCenter">
<asp:RadioButton ID="rdoA" runat="server" GroupName="Pricing" />
</td>
<td class="tableDataCenter">
<asp:RadioButton ID="rdoB" runat="server" GroupName="Pricing" />
</td>
<td class="tableDataCenter">
<asp:RadioButton ID="rdoC" runat="server" GroupName="Pricing" />
</td>
Here's the problem (which you already probably know). The second row also works, but doesn't affect the first row. Basically what I need to do is generate let's say three rows, and have ALL of the radio buttons grouped.
Any ideas as to how to accomplish this?
Thanks in advance!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|