O'Reilly logo

Programming Microsoft® ASP.NET by Dino Esposito

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Creating New ASP.NET Controls

 

Appreciation is a wonderful thing: It makes what is excellent in others belong to us as well.

 
 --Voltaire

If none of the existing Web server controls meet your requirements, you can create your own control by deriving from one of the control base classes—Control and WebControl. Even in this case, though, you don't have to build your control completely from scratch. The Control and WebControl classes provide all the basic functionality of a Web server control and let you focus mostly on the specific features you need to implement.

In its simplest form, a Web server control is a software component that abstracts a piece of HTML markup and exposes it through an object model. You can write controls using any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required