I'm using C # asp.net web forms
I have two RadioButtonList
<asp:RadioButtonList ID="rblGrupo" runat="server" AutoPostBack="True" CellPadding="5" OnSelectedIndexChanged="rblGrupo_SelectedIndexChanged">
<asp:ListItem Selected="True">Geral</asp:ListItem>
<asp:ListItem>Por Grupo</asp:ListItem>
</asp:RadioButtonList>
<asp:RadioButtonList Enabled="false" ID="rblSubGrupo" runat="server" AutoPostBack="True" CellPadding="5" OnSelectedIndexChanged="rblSubGrupo_SelectedIndexChanged">
<asp:ListItem Selected="True">Geral</asp:ListItem>
<asp:ListItem>Por Sub-Grupo</asp:ListItem>
</asp:RadioButtonList>
One with Geral
and Por Grupo
and the other with Geral
and Por SubGrupo
I wanted that when the Geral
of the Group was selected, automatically the Geral
of the Sub Group was also selected.
Assuming that the person first chose a group and a subgroup, but then he wants only one group, in that situation I would like the Sub Group to be marked as Geral