Answers for "validate radio button html"

0

webforms validate radio buttons

<asp:RadioButtonList ID="RadioButtonList1" runat="server">
            <asp:ListItem>north</asp:ListItem>
            <asp:ListItem>west</asp:ListItem>
        </asp:RadioButtonList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
            ControlToValidate="RadioButtonList1" ErrorMessage="RequiredFieldValidator">
        </asp:RequiredFieldValidator>
Posted by: Guest on January-21-2020
0

webforms validate radio buttons

<asp:RadioButtonList ID="RadioButtonList1" runat="server">
            <asp:ListItem>north</asp:ListItem>
            <asp:ListItem>west</asp:ListItem>
        </asp:RadioButtonList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
            ControlToValidate="RadioButtonList1" ErrorMessage="RequiredFieldValidator">
        </asp:RequiredFieldValidator>
Posted by: Guest on January-21-2020

Browse Popular Code Answers by Language