This chapter looks at some of the most useful controls that are included in ASP.NET: the validation controls. These controls take a previously time-consuming and complicated task—verifying user input and reporting errors—and automate it with an elegant, easy-to-use collection of validators. Each 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.
KeywordsInput Control Regular Expression Error Message Validation Group Event Handler
Unable to display preview. Download preview PDF.