Intrinsic Controls
Intrinsic controls create HTML-style elements on the client. They are intelligent controls that can automatically maintain state and provide extra features, or just output plain HTML elements. The Intrinsic controls are shown in Table 6.1.
When you look at the list of Intrinsic controls, you’ll probably notice that most have an equivalent HTML tag. For example, the asp:CheckBox control outputs an INPUT tag of type CheckBox. The following ASP.NET server control code is followed by the HTML code that it outputs:
ASP.NET Server Control Code:
<asp:CheckBox runat=”server” />
Resulting HTML Code:
<input type=”CheckBox”>
The next question that comes to mind is, “Why not just use the HTML code?” The answer has several facets. ...
Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.