Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Building custom controls is often treated as an art. In fact, it’s one of the most challenging aspects of ASP.NET.
Getting started with custom controls isn’t difficult, but advanced scenarios, like the last one we presented in this chapter, involve a deep understanding of ASP.NET. In more simple situations, custom controls can help you avoid code duplication by implementing and supporting repetitive tasks. You can easily add PostBack and templates to every control, and implementing support for data binding isn’t all that difficult.