O'Reilly logo

ASP.NET for Web Designers by Peter Ladka

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

Validating Input Controls

Now let’s look at the specific ASP.NET Web server control validators. Remember that these controls all reside in the System.Web.UI.WebControls namespace and they inherit the WebControl base class.

They also have another class called BaseValidator from which they inherit. This class has properties and methods that are common to all validator controls (see Table 8.1).

Note

Remember—and it’s worth repeating—that inheritance isn’t a big word to be afraid of. It’s easily understandable. If one object class inherits from another, it gets all of its properties and methods from that class. Each inherited object is a building block that brings its pieces to the receiving object. All methods and properties within an object have ...

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