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 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.