Chapter 28. Understanding Web Forms Validation Controls

After completing this chapter, you will be able to:

  • Validate user input in a Microsoft ASP.NET Web form by using the ASP.NET validation controls.

  • Determine whether to perform user input validation in the user’s Web browser or at the Web server.

As with a Microsoft Windows Presentation Foundation (WPF) application, validating user input is an important part of any Web application. With WPF, you can check that the user’s input makes sense by binding controls to properties of business objects and letting the code in these business objects validate the data, or by writing code to validate the contents of these fields in response to events that occur when the user moves from field to field on a form. ...

Get Microsoft® Visual C#® 2008 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.