When using 'Validators' you must use the property "IsValid" and you must use the method "Validate".
For a CustomValidator you must implement the 'ServerValidate' event.
Also the property 'ClientValidationFunction' must be set to organize the Client side validatie.
source: validator
arguments.value: the control which must be validated
arguments.isvalid: true if the value is valid otherwise false.
- http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.customvalidator.aspx
- http://www.codeproject.com/KB/validation/MultiDependValidator.aspx
Supercharge your debugging with git bisect
4 days ago
No comments:
Post a Comment