Tuesday, 14 December 2010

Client Side Validation and Server Side Validation

Client Side Validation :  It enhance the usability of the web form by checking  user input as the user enters data.By Checking for errrors when data is being enetered, Client Side Validation allows error to be detected on the client  befor the Web form  submitted

Server Side Validation :  All input validation controls run on server side. Client Side validation are repeared on the server side.mhen page is posted back to the server.This repetation avoids spoofing by users who bypass the client side script .
Server Side Validation controls can be writtrn in any .Net language and are compiled  into MSIL before being run on the server

Validation controls are:

1.Compare  Validator

2.Custom Validator

3. Regular Expression Validator

4.RequiredField Validator

5. Validation summary
Range  Validator

No comments:

Post a Comment