Do you know that? 40% of freelancers delegate or outsource work to others next

Describe the steps to use Validation Control.

  • Draw a validation control on a Web form
  •  Set the ControlToValidate property to the control you want to validate.
  • Specify the ControlToCompare property with CompareValidator control.
  • Specify error message to the validation control's ErrorMessage property.
  • 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.
  • Draw a ValidationSummary control on the Web form to display the error messages from the validation controls in one place.