Posted by : Rhyf Ahmad Saturday, May 09, 2015

When you look at the Toolbox window in Visual Studio 2010 — especially if you ’ ve read Chapters 2 and 3, which cover the various server controls at your disposal — you may be struck by the number of server controls that come with ASP.NET 4. This chapter takes a look at a specifi c type of server control you fi nd in the Toolbox window: the validation server control.

Validation server controls are a series of controls that enable you to work with the information your end users input into the form elements of the applications you build. These controls work to ensure the validity of the data being placed in the form. Before you learn how to use these controls, however, this chapter fi rst takes a look at the process of validation.

Contents:

Understanding Validation
Client-Side versus Server-Side Validation
AS P.NE T Validation Server Controls
  1. Validation Causes
  2. The RequiredFieldValidator Server Control
  3. The CompareValidator Server Control
  4. The RangeValidator Server Control
  5. The RegularExpressionValidator Server Control
  6. The CustomValidator Server Control
  7. The ValidationSummary Server Control

Turning Off Client-Side Validation
Using Images and Sounds for Error Notifications
Working with Validation Groups


Ebook Preview

Download the ebook now (514 kB)

Leave a Reply

You can leave a comment to request any article(s), software(s), ebook(s) or report the dead link.
Then I will reply as soon as I can :)

Subscribe to Posts | Subscribe to Comments

Welcome to My Blog

Recent Post

Recent Posts Widget
Instagram

- Copyright © Madriva -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -