Contents

Monday, 2 January 2017


Validations in ASP.NET

Validations are most important part of an ASP.NET project and almost all projects made, make use of these validations. Validations are done to validate a particular input provided by the user before it can be used for a particular operations in our project. 

There are two types of validation :-

1) Client Side 
2) Server Side


Client Side Validation

Client Side Validation dependents on the browser that it is runs(i.e if the browser has disabled it then this technique will not work) and on the scripting language that is used to code it(like javascript, vbscript etc.).


Server Side Validation

Server Side Validation is more reliable as it does not dependent on the browser or any scripting language.

Now lets take about validation controls present in ASP.NET.

There are six types of validation controls in ASP.NET :-

  • RequiredFieldValidator
  • RangeValidator
  • RegularExpressionValidator
  • CompareValidator
  • CustomValidator
  • ValidationSummary
Now we well learn all these in detail in upcoming posts.


You may click the Content tab to see all the posts that i will cover in this tutorial for easy navigation.


No comments:

Post a Comment