Chapter 6. Custom controls
- An introduction to how to build custom controls
- Composite controls
- Handling PostBack in custom controls
- Complex controls
- Data binding and templates in custom controls
You can use custom controls in ASP.NET Web Forms to benefit from componentization. As you learned in previous chapters, ASP.NET Web Forms are based on the concept of controls, which are used as placeholders for their given features. Controls are useful when you’re developing complex applications because you can avoid code duplication. Because custom controls are objects, you can use the typical features offered by OOP.
You can start from scratch with your own control, or use an existing control and enrich it. Depending on ...