Chapter 5. Composite Controls
After completing this chapter, you will be able to
Create a binary composite custom control.
Create a composite User control.
Use both kinds of controls in an application.
Recognize when each kind of control is appropriate.
Chapter 4 covers the details of controls that do custom rendering, whereas this chapter covers the other kind of control: composite controls. ASP.NET defines two broad categories of composite controls—binary custom controls and user custom controls. Each type of composite control has advantages and disadvantages, which this chapter discusses. First, we'll explore the primary differences between rendered controls and composite-style controls.
Composite Controls versus Rendered Controls
Recall that custom ...