Chapter 8. Custom Controls

As you learned in Chapter 6, the .NET Framework class library (FCL) features a rich collection of server controls that provide ready-made building blocks for Web forms. FCL control types range from the simple (Label) to the sublime (Calendar, DataGrid, Repeater, and others), and they enable developers to build sophisticated Web applications without getting lost in a maze of HTML and client-side scripting.

Diverse as they are, the FCL’s built-in server controls can’t possibly accommodate the needs of every developer. The time will come when you need a control that’s not part of the FCL. Then you’ll have two choices: purchase the control from a third party or write it yourself. This chapter is about the latter: how to write ...

Get Programming Microsoft® .NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.