In the next example, I will show you a small example of how it can be used.As you see, we only use one validator to validate the two fields.
It doesn't come with a predefined way of working; you write the code for validating your self.
The Compare Validator might not be the most commonly used validator of the bunch, but it's still useful in some cases.
It can compare two values, for instance the values of two controls.
This is a very basic and that useful example, only made to show you how you may use the Custom Validator.
NET was developed in direct response to the problems that developers had with classic ASP. NET: Client-Side Validation: When validation is done on the client browser, then it is known as Client-Side Validation.