Chapter 6. Web Controls

Now that you’re acquainted with the Web Forms programming model, the next step on the road to becoming an ASP.NET programmer is getting to know the various types of server controls that the Microsoft .NET Framework places at your disposal. You’ve seen three of them already: TextBox, Button, and Label. Now it’s time to learn about the others.

Recall from Chapter 5 that ASP.NET supports two distinctly different types of server controls: HTML controls and Web controls. HTML controls are instances of classes defined in the System.Web.UI.HtmlControls namespace. When you add runat=“server” to a conventional HTML tag (as in <input type="text” runat="server">), the .NET Framework responds by instantiating an HTML control. Web controls ...

Get Programming Microsoft® .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.