Chapter 9. Evaluating Data with ASP.NET Validation Controls

only for RuBoard

IN THIS CHAPTER

  • Validation Controls and How They Work

  • Shared Validator Attributes

  • The RequiredFieldValidator Control

  • The RegularExpressionValidator Control

  • The CompareValidator Control

  • The RangeValidator Control

  • The CustomValidator Control

  • The ValidationSummary Control

  • One Control, Multiple Validators

  • Summary

In Chapter 8, "Gathering Data with ASP.NET Web Forms," I discussed how to use many of the new ASP.NET server controls to gather data from users. In this chapter, I'll demonstrate how to use ASP.NET's collection of validation controls to validate data on both the client side and the server-side before a database edit is made. Specifically, we will explore the following topics:

  • What validation controls are and how they work

  • Using the RequiredFieldValidator control

  • Using the CompareValidator control

  • Using the RangeValidator control

  • Using the RegularExpressionValidator control

  • Using the CustomValidator control

  • Displaying error information using the ValidationSummary control

  • Multiple validator controls on one input control

only for RuBoard


Programming Data-Driven Web Applications with ASP. NET
Programming Data-Driven Web Applications with ASP.NET
ISBN: 0672321068
EAN: 2147483647
Year: 2000
Pages: 170

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net