Populer Topics

Validation Library

These controls are used to validate or click the data before they are using for further operation.

By Default the validation on both the server and client side. The validation controls use client side JavaScript.

This is good for a use for because we can immediate message for an invalid value or form fields. A client side JavaScript is supported on any web browser.

Form Validation

The user is working with a browser that support dynamic html, Asp .NET validation using client side scripts, Because the control can provides immediate feedback without a round tripe to  the server to user experience with the web page.

We don’t have to make any change to our page to the validation control to use client side validation. The control automatically detects the browser support DHTML and performs that checking condition accordingly.

Client side validation uses some error display mechanism a server side validation. A server side validation performs both types as follow.

  1. Client Side
  2. Server Side

Client side validation

A client side JavaScript support an any up level browser, Supported browser include explorer, opera, Firefox. This is a change from the previous versions of Asp .NET which supported only internet explorer as an up level browser.

Server Side Validation

A validation server control is used to validate the data all on the input control. If the data does not pass the validations, it will display on error message to the user. There are many types of validation controls such as RequiredFieldsValidator, RangeValidator, RegularExpressionValidator, CompareValidator, CustomValidator etc.

Validation Library