function CheckRoles(sender, args) {
                var count = ($("#<%=CBLRoles.ClientID %>").find("input[type=checkbox]:checked").length);
                if (count > 0) {
                    args.IsValid = true;
                }
                else {
                    args.IsValid = false;
                }
            }
posted on 2012-07-27 11:06  万德源  阅读(962)  评论(0编辑  收藏  举报