What are the validation controls available in ASP.NET?


ASP.NET validation controls are:

  • RequiredFieldValidator: This validates controls if controls contain data.
  • CompareValidator: This allows checking if data of one control match with other control.
  • RangeValidator: This verifies if entered data is between two values.
  • RegularExpressionValidator: This checks if entered data matches a specific format.
  • CustomValidator: Validate the data entered using a client-side script or a server-side code.
  • ValidationSummary: This allows developer to display errors in one place.