Trying to setup a regular Radiobutton in a repeater
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
<input type="radio" name="OptGroup" id="rbEmail" value="<%=ID %>"/><label for="rbEmail"><%=Action %></label>
</ItemTemplate>
</asp:Repeater>
I’m trying to think through if I’m missing anything here. I’ll have a group of radiobuttons and I believe I can’t just hard code the id. That I need a unique ID for each right?
If I’m reading this right, you’re missing the datasource for the repeater, and “ID” and “Action” are part of that datasource? In that case, you want something more like this: