Working with User Controls in Web Forms Applications
When you're interested in reusing a piece of user-interface functionality in an ASP.NET application, but you don't want to expose yourself to the full brunt of a precompiled server control, you can create a user control. User controls are simple to build in ASP.NET script and don't require the precompilation that server controls do.
To create a user control, you typically start with a basic HTML representation of the user interface you want. This is a convenient feature of user controls. It means you can use whatever HTML editing control you're most comfortable with to do the lion's share of control development.
For example, suppose you're building an information portal application in which ...