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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access