O'Reilly logo

A Programmer's Guide to .NET by Alexei Fedorov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required