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.
Unable to display preview. Download preview PDF.