Validating Forms with ASP.NET Validator Controls

This tutorial will explain how to correctly use the Validation server controls built into the .NET Framework to validate user input on your pages. We begin by defining what validation is and the differences between client side and server side validation. Complete working examples of each of the validation controls are provided as well as solutions to some of the common problems that arise when using the Validator controls, including how to implement validation groups. These can be used for submitting different sets of validated fields separate from other sets of validated fields whilst only validating the set of fields being submitted.

Overview

Defining Validation and its benefits

An Introduction to the ASP.NET Validation Controls

Client Validation verses Server Validation

Known Limitations of the Validation Controls

The Required Field Validator Control

The Regular Expression Validator Control

The Compare Validator Control

The Range Validator Control

The Custom Validator Control

The Validation Summary Control

How to implement Validator

Kevin Marshall

Kevin MarshallI live in Perth, Scotland and am senior programmer with WebXeL.com Ltd. I have been involved in computer programming since 1990, web based programming using ASP since 1997 and have been building ASP.NET applications since ASP.NET Beta 2 was released.

I have been an avid Dreamweaver user since Version 1 was launched and with the release of MX have moved into developing extensions. WebXeL run a website dedicated to the development of free and commercial Dreamweaver MX extensions for ASP.NET, the site can be found at http://www.webxel-dw.co.uk.

See All Postings From Kevin Marshall >>

Place your review about Validating Forms with ASP.NET Validator Controls




You must me logged in to write a review
Reviews

Be the first to place a review