Registers code on the page for client-side validation.
Use the BaseValidator.RegisterValidatorCommonScript method to register code on the page to perform client-side validation.
This method is used primarily by control developers.