webforms validate radio buttons

Solutions on MaxInterview for webforms validate radio buttons by the best coders in the world

showing results for - "webforms validate radio buttons"
Hanna
08 Aug 2020
1<asp:RadioButtonList ID="RadioButtonList1" runat="server">
2            <asp:ListItem>north</asp:ListItem>
3            <asp:ListItem>west</asp:ListItem>
4        </asp:RadioButtonList>
5        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
6            ControlToValidate="RadioButtonList1" ErrorMessage="RequiredFieldValidator">
7        </asp:RequiredFieldValidator>