MaskedEditValidator is a custom validator that attaches to the MaskedEdit extender and associates the TextBox and verifies that the input text matches the pattern specified in the MaskedEdit extender. Once associated with a validation group, server- and client-side validation can be performed and used to display messages.