Chapter 29. Building Custom Controls

<feature>

IN THIS CHAPTER

</feature>

In this chapter, you learn how to extend the ASP.NET Framework by building custom controls. You learn how to create controls in exactly the same way as Microsoft developed the standard ASP.NET controls such as the TextBox and Button controls.

Overview of Custom Control Building

You must answer two questions before writing a custom control:

  • What type of control do I want to write?

  • From what class do I inherit?

The two basic types of controls are fully rendered and composite controls. When you build ...

Get ASP.NET 3.5 Unleashed 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.