CompareValidator

The CompareValidator control is used to compare the value to one textfield's value to another textfield's value.

Example

Type any value in the first textfiled (Enter password) and the same value in second textfiled (Confirm password) if both values are not matching then an ErrorMessage displays "Password is not matching".



View Source Code