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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.