O'Reilly logo

ASP.NET by Example by Steven A. Smith

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

The ListControl Class

All ASP.NET list controls inherit from ListControl in the System.Web. UI.WebControls namespace. Inheritance is the foundation of OOP design and is the means by which one class acquires all the behavior and attributes of its parent class. The new class indicates only how it is different from its parent by overriding or adding to the properties, methods, and events of the parent class. Table 6.1 shows a summary of the properties, methods, and events of the ListControl class. Each of the four controls discussed in this chapter shares these common attributes, so please take a moment to review them before the first example.

Table 6.1. Properties, Methods, and Events of the ListControl Class
Name Item Description
AutoPostBack

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