---
title: "What are the different validators in ASP.NET?"  
description: "What are the different validators in ASP.NET?"  
author: "Anonymous User"  
published: 2018-04-25  
updated: 2020-09-23  
canonical: https://www.mindstick.com/interview/23390/what-are-the-different-validators-in-asp-dot-net  
category: "asp.net"  
tags: ["asp.net"]  
reading_time: 2 minutes  

---

# What are the different validators in ASP.NET?

## There are the following two types of validation in ASP.NET:

Client-Side Validation

Server-Side Validation

Client-Side Validation:

When validation is done on the client browser, then it is known as Client-Side Validation. We use JavaScript to do the Client-Side Validation.

## Server-Side Validation:

When validation occurs on the server, then it is known as Server-Side Validation. Server-Side Validation is a secure form of validation. The main advantage of Server-Side Validation is if the user somehow bypasses the Client-Side Validation, we can still catch the problem on server-side.

## The following are the Validation Controls in ASP.NET:

RequiredFieldValidator Control

CompareValidator Control

RangeValidator Control

RegularExpressionValidator Control

CustomFieldValidator Control

ValidationSummary

## Answers

### Answer by Anonymous User

## There are the following two types of validation in ASP.NET:

Client-Side Validation

Server-Side Validation

Client-Side Validation:

When validation is done on the client browser, then it is known as Client-Side Validation. We use JavaScript to do the Client-Side Validation.

## Server-Side Validation:

When validation occurs on the server, then it is known as Server-Side Validation. Server-Side Validation is a secure form of validation. The main advantage of Server-Side Validation is if the user somehow bypasses the Client-Side Validation, we can still catch the problem on server-side.

## The following are the Validation Controls in ASP.NET:

RequiredFieldValidator Control

CompareValidator Control

RangeValidator Control

RegularExpressionValidator Control

CustomFieldValidator Control

ValidationSummary


---

Original Source: https://www.mindstick.com/interview/23390/what-are-the-different-validators-in-asp-dot-net

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
