This chapter presents some of the most useful controls that are included in ASP.NET: the validation controls. These controls take a potentially time-consuming and complicated task—verifying user input and reporting errors—and automate it. Each validation control, or validator, has its own built-in logic. Some check for missing data, others verify that numbers fall in a predefined range, and so on. In many cases, the validation controls allow you to verify user input without writing a line of code.
In this chapter, you’ll learn how to use the validation controls in an ASP.NET web page and how to get the most out of them with ...