• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/10

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

10 Cards in this Set

  • Front
  • Back
What Validation Controls Do
Validate user inputs
- Eliminates some need to write code handling exceptions
What does each Validation Control do?
- Validates user inputs on client-side using javascript
- Validates all inputs on server
- Writes client-side error message if invalid
Benefits of Validation Controls
- Convenience (copy & paste)
- Bomb-proof (server-side validation)
Limitations of Validation Controls
- Must remember to check on server (Page.IsValid)
- Different interpretations of regular expressions
What are the six types of Validation Controls
1) RequiredFieldValidator
2) CompareValidator
3) RangeValidator
4) RegularExpressionValidator
5) CustomValidator
6) ValidationSummary
RequiredFieldValidator
Only validator that checks for no entry
CompareValidator
Compares input to: datatype, constant, another control, database values, etc
RangeValidator
Entry within a specific data range
RegularExpressionValidator
Checks format against a specific pattern (email, phone, zip code, etc)
CustomValidator
Write own code (server-side or client-side)