Required Field Validator for CheckBoxList
When you use asp check box list and want to apply required field validator then follow below example. <asp:CheckBoxList ID = "chkDemoList" runat = "server" > <asp:ListItem Text = "India" Value = "IN" ></asp:ListItem> <asp:ListItem Text = "United States of Americs" Value = "USA" ></asp:ListItem> <asp:ListItem Text = "Japan" Value = "JP" ></asp:ListItem> </asp:CheckBoxList> <asp:CustomValidator runat = "server" ID = "cv DemoList " ClientValidationFunction = "Validate DemoList " ErrorMessage = "Required Field" ></asp:CustomValidator> // javascript to add to your aspx page function Validate DemoList (source, args) { var chkListModules= document.getElementById (' <%= chkDemoList . ClientID %>'); var chkListinputs = chkListModules.getElementsByTagName("in...