ASP.NET radically increases the productivity of web developers by running atop the .NET Framework and providing a large suite of powerful controls that do everything from accept simple input to display complex, interactive, data-bound grids. Occasionally you may run into a situation where you have a need for a reusable control that isn't already implemented by the base set of controls that ship with ASP.NET. In that case, you can use C#, object-oriented programming, and existing ASP.NET classes to create your own custom controls to extend ASP.NET's already powerful feature set. This chapter shows you how to create everything from simple user controls to complex, nested server controls that maintain their own view state. |