Introduction to Custom Controls
ASP.NET provides us a facility to encapsulate our custom user interface and functionality in a reusable form that is known as custom controls. This approach of writing controls is quite different from the approach of writing user controls. You would write custom controls when you want to extend the functionality of an existing control (for example, extending the Calendar control to work as an appointment diary), or when you want to create a new functionality that did not exist before (for example, creating a specialized tab control for your product catalog). In this section, we delve into understanding and using custom controls.
The major differences between custom controls and user controls are listed in Table ...
Get Inside ASP.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.