Wednesday, March 14, 2012

pass parameters to validator client side.

 function ValidateLanguageCheckBoxList(sender, args) {
     ......
     var t = sender.initValidator;
     args.IsValid = false;
    .......
  }


ScriptManager.RegisterExpandoAttribute(CheckListRequiredValidator, CheckListRequiredValidator.ClientID, "initValidator", "true", true);

No comments:

Post a Comment