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 ...
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