Chapter 5. HTML/Web Controls
The simplest server controls provided by the ASP.NET Framework are the HtmlControls and WebControls. These two classes of controls simply render standard HTML tags, and provide two different means of programmatically accessing HTML display logic. HtmlControls and WebControls overlap somewhat, in that almost any HTML tag can be rendered as either an HtmlControl or a WebControl. In this chapter we will explore how to use these controls, how they differ from one another, and under what circumstances it would be appropriate to use one or the other type of control.
In this chapter, you will
Learn what ASP.NET server controls are.
Learn the differences between HtmlControls and WebControls, and when to use each.
Get ASP.NET by Example 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.