1
Follow the code below:
HTML:
<asp:RadioButtonList ClientIDMode="Static" ID="rbAtivoInativo" runat="server" RepeatDirection="Horizontal" AutoPostBack="true"> <%--OnSelectedIndexChanged="rbAtivoInativo_SelectedIndexChanged"--%>
<asp:ListItem Value="ATIVO" Selected="True">Sim</asp:ListItem>
<asp:ListItem Value="INATIVO">Não</asp:ListItem>
</asp:RadioButtonList>
I wanted that when the Radiobutton with the INACTIVE value was selected a div appears that is hidden.
Just change in your 'active input#' and 'inactive input#' answer to 'input#rbAtivoInactive'. The rest is right.
– Leonel Sanches da Silva
Wasn’t this my placement.
– rafaeldefazio