O'Reilly logo

Build Your Own ASP.NET 4 Web Site Using C# & VB, 4th Edition by Cristian Darie, Wyatt Barnett, Timmothy Posey

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6Using the Validation Controls

Ever needed to ensure that a user typed an email address into a text box? Or wanted to make sure that a user typed numbers only into a phone number field? Validation involves checking that the data your application’s users have entered obeys a number of predefined rules. To help developers with the most common data validation tasks, ASP.NET provides a set of validation controls that ease the problems that troubled web developers in the past. This chapter will show you how to use them.

More specifically, in this chapter you will:

  • Learn the difference between client-side and server-side data validation.

  • Use the .NET validation controls to restrict the data your visitors can submit.

  • Create validation groups ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required