验证CheckBoxList至少要有一项选中
2007-04-27 11:28
411 查看
</script>
<tr>
<td align="right" bgcolor="#FFFFFF">用户权限: </td>
<td bgcolor="#FFFFFF"><asp:CheckBoxList ID="cblrighgs" runat="server" RepeatLayout="Flow" RepeatColumns="5">
</asp:CheckBoxList>
<asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ClientValidate"
Display="Dynamic" ErrorMessage="请选择用户权限"></asp:CustomValidator></td>
</tr>
<tr>
<td align="right" bgcolor="#FFFFFF">用户权限: </td>
<td bgcolor="#FFFFFF"><asp:CheckBoxList ID="cblrighgs" runat="server" RepeatLayout="Flow" RepeatColumns="5">
</asp:CheckBoxList>
<asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="ClientValidate"
Display="Dynamic" ErrorMessage="请选择用户权限"></asp:CustomValidator></td>
</tr>
相关文章推荐
- 验证CheckBoxList至少选择一项
- js验证checkbox是否选中至少一项
- Jquery.Validate验证CheckBoxList,RadioButtonList,DropDownList是否选中
- js验证checkboxlist是否有选中的项,如果选中返回true
- .net Web页面中js判断checkboxList是否有至少一项被选中
- Jquery.Validate验证CheckBoxList,RadioButtonList,DropDownList是否选中
- js验证checkboxlist是否有选中的项
- Jquery.Validate验证CheckBoxList,RadioButtonList,DropDownList是否选中
- asp.net中checkboxlist判断至少选择一项的方法
- Jquery.Validate验证CheckBoxList,RadioButtonList,DropDownList是否选中
- MVC生成CheckBoxList并对其验证
- 删除CheckBoxList未选中或选中的CheckBox选项
- 设置或者得到CheckBoxList选中了的值
- struts2的三种radio和select和checkboxlist校验是否选中
- 判断checkbox是否至少有选择一项
- MVC验证13-2个属性至少输入一项
- ASP.NET jQuery 食谱15 (通过控件CustomValidator验证CheckBoxList)
- CheckBoxList 获取与设置选中的值
- jquery通过prop函数验证checkbox是否选中
- (十三) yii2 checkboxList小部件默认选中