Using Validation Controls: Chapter 3 of ASP.NET 2.0 Unleashed


ASP.NET 2.0 represents a significant upgrade from its predecessor. Along with 50 code-reducing controls, ASP.NET 2.0 offers a simper data-binding model, membership and role services for greater application security, master pages and themes for faster design and a variety of navigation improvements.

Steven Walther's ASP.NET 2.0 Unleashed is a revision of his previous work for the initial ASP.NET. This new reference checks in at nearly 2,000 pages and is divided into 10 sections, which cover topics such as data access, components, security and Web parts. The final chapter shows readers how to build a sample e-commerce application.

In Chapter 3, Using the Validation Controls, Walther provides an overview of ASP.NET 2.0's six out-of-the-box controls -- RequiredField, Range, Compare, RegularExpression, Custom and ValidationSummary. That is followed with a tutorial on creating custom controls. Both VB and C# sample code is provided.

Read the rest of the excerpt in this PDF.


Excerpted from the Sams Publishing book,  ASP.NET 2.0 Unleashed (ISBN 0-6723-2823-2) by Stephen Walther.
Copyright © 2006. Published by Addison-Wesley Professional. Reprinted with permission.

This was first published in July 2006

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.