Chapter 4. Basic Controls

Chapter 3 introduced controls. Though it briefly mentioned both server and classic HTML controls, most of the coverage was on ASP.NET server controls, the heart of ASP.NET.

Tip

As noted previously, server controls are known variously as “ASP controls,” “ASP.NET controls,” “ASP.NET server controls,” “Web controls,” and “Web server controls.” In this book, we will use “ASP.NET server control” or “server control.” When referring to “server control,” it should be clear from the context if this means only ASP.NET server controls or includes HTML server controls as well.

Topics common to all ASP.NET server controls were covered, such as events, syntax, programmatic access to controls during runtime (using the ID property), and the use of VS2005 to build your web site using controls. However, it did not go into significant detail about any specific controls.

This chapter provides a wealth of detail about many of the basic ASP.NET controls, including the TextBox, Button, CheckBox, and RadioButton controls, lists, tables, and images. It discusses the features and properties common to many controls and surveys the specific details of the basic ASP.NET server controls included with the .NET Framework.

The next chapter will cover many of the advanced server controls included as part of ASP.NET, such as view controls, and the Wizard, FileUpload, AdRotator, and Calendar controls. Other chapters will focus on data controls, validation controls, login and security controls, and so on.

Get Programming ASP.NET, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.