O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required