Click here to Skip to main content
15,917,538 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)

I am new to ASP.NET.

My question is "What is the difference between Validation controls validation and JavaScript validation? On which situations we can use Validation controls validation and JavaScript validation?"

Thank you.
Updated 12-Dec-10 19:10pm

1 solution

Javascript validation can be used for Client side validation only. While Validation control can be used for client side as well as server side validation.Some time server side validation are necessary because we can not rely on client side validation blindly.

Also there readymade validation control provides several types of readymade control that can be used without writing any code.

You can have a look to mne of my atricle for details about validation controls
Exploring ASP.NET Validators
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900