Appendix D. HTML Server Control Reference

In the following sections, I detail the syntax of the HTML server-side controls. Note that I am showing only the most commonly used properties and methods of each class. For more information on the use of these controls, see Chapter 4,“Web Form-Based Development,” and Chapter 15,“Creating User and Custom Controls for ASP.NET.”

An HTML server-side control is created in one of two ways:

  • By using the RUNAT="server" attribute/value pair in the control tag in the .aspx and .ascx files

  • By creating the control programmatically in a .NET code behind a form file

Get Inside ASP.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.