Describe the steps to use Validation Control.1. Draw a validation control on a Web form. 2. Set the ControlToValidate property to the control you want to validate. 3. Specify the ControlToCompare property with CompareValidator control. 4. Specify error message to the validation control’s ErrorMessage property. 5. Specify error message to the validation control’s Text property if you want to display a message other than the message in the ErrorMessage property. 6. Draw a ValidationSummary control on the Web form to display the error messages from the validation controls in one place.
|