7.3. HTML server controls
The HTMLControl class provides common properties inherited by all HTML server control classes within the System.Web.UI.HTMLControls namespace. The HTMLControl class adds its own properties to those inherited from the Control class.
Attributes This property returns a collection of all attribute name and value pairs in the server control tag.
Disabled Indicates whether or not the HTML server control is disabled.
Style Returns a collection of all CSS properties applied to an HTML control.
TagName Returns the element name of a control.
The HTMLControl class does not add any of its own methods and events – all are inherited from the Control class.
This class serves as a base for three derived classes – HTMLContainerControl ...
Get A Programmer's Guide to .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.