Chapter 26. 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 at the client or the Web server.

As with Windows Forms applications, validating user input in a Web Forms application is an important part of any system. With Windows forms, you have a limited choice of where the validation should be performed—you check that the user’s input makes sense by using events attached to the controls and forms of the application itself. With Web forms, there is an additional complication that you must consider: should you perform validation at the client (the browser) or ...

Get Microsoft® Visual C#® 2005 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.