To turn off radio buttons within a Repeater when a selection is made, the javascript below will assist.
<script language="javascript" type="text/javascript">
function RB_CheckChanged(current) {
for (i = 0; i < document.forms[0].elements.length; i++) {
elm = document.forms[0].elements[i];
if (elm.type == 'radio') {
elm.checked = false; }
}
current.checked = true;
}</script>
<asp:Repeater runat="server" ID="RBRptr">
<ItemTemplate>
</ItemTemplate>
</asp:Repeater>
No comments:
Post a Comment