O'Reilly logo

Microsoft® Office SharePoint® Designer 2007 Step by Step by Penelope Coventry

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using ASP.NET Validation Controls

You can validate the data of input controls by using a validation control. The input controls can be HTML input tags or standard ASP.NET controls. However, they cannot be SharePoint controls, because they contain their own validation mechanisms based on columns settings in lists or libraries. ASP.NET includes six validation controls that solve the common validation scenarios encountered in many Web developments:

  • CompareValidator. Compares the data entered in one field with the data entered in another field to see if the data matches.

  • CustomValidator. Allows you to write your own validation code. This code could be server-side code or client-side code, such as code written in JavaScript or Microsoft Visual Basic ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required