"Pro ASP.NET 3.5 Server Controls and AJAX Components"
Figure 1-11. Controls in the System.Web.UI.WebControls namespace The controls under the System.Web.UI.WebControls namespace are grouped into a few primary categories: ??? Simple ??? List ??? Rich ??? Validation The following sections cover each category. CHAPTER 1 ?– SERVER CONTROL BASICS 21 Simple Controls The simple controls are the web control cousins to the HTML controls in that they generally map one-to-one to an HTML tag. Some good examples of this are the mappings of the Label control to the tag and the TextBox control to the tag. Because simple controls map closely to a single HTML tag, we bring back the ever-popular tag-to-control mapping table in a manner similar to our discussion in the last section on HTML controls. Like the previous table, some controls in Table 1-2 handle more than one tag by property settings. The LiteralControl from the System.Web.UI namespace is used for tags that are not represented in System.Web.UI.WebControls as a control. A Simple Controls Demonstration The following simple controls demonstration is a port of the original HTML controls demonstration to show the same output using dynamically built controls from the System.Web.UI. WebControls namespace.