In this chapter, we walked through the process of writing, compiling, using, and debugging a custom control. We examined the Control and WebControl base classes and looked at design-time metadata attributes that modify the appearance and behavior of a control in a visual designer. We looked at custom controls in Visual Studio .NET and saw that a custom control can be added to the toolbox of a design environment and used on a design surface just as a standard ASP.NET control. In Part III of this book, "Server Controls ”Nuts and Bolts," we'll get into the details of control authoring, design-time programming, and deployment so that you can author and distribute professional quality server controls similar to the standard ASP.NET controls. |