ASP.NET Reference

ASP.NET Reference

HtmlGeneric class properties and its descriptions

Web developers can use this class to represent an HTML server control element not directly represented by a .NET Framework class, such as <span>, <div>, <body>, or <font>.

Namespace: System.Web.UI.HtmlControls Assembly: System.Web (in System.Web.dll)

Property

Description

Supported in .NET version

Adapter

This property gets the browser-specific adapter for the control. If the target browser does not require an adapter, returns …

Learn more

HtmlTableRow class properties and its descriptions

This class represents the <tr> HTML element in an HtmlTable control and Web developers can use the class to programmatically control the <tr> HTML elements in an HtmlTable control. The HtmlTableRow class allows them to customize the appearance of a row in a table by specifying the background color, the border color, and the height of the cells …

Learn more

HtmlTableCell class properties and its descriptions

This class represents the <td> (data cell) and <th> (table heading cell) HTML elements in an HtmlTableRow object. The HtmlTableCell class allows Web developers to customize the appearance of a cell in a table by specifying the background color, the border color, the height, and the width. These attributes are set using the BgColor, BorderColor, Height, and Width …

Learn more

HtmlTable class properties and its descriptions

Web developers use the HtmlTable control to programmatically control the HTML <table> element on the server and this allows them to create a table on a Web page. They can dynamically change the appearance of the <table> element by setting the BgColor, Border, BorderColor, Height, and Width properties. They can also control how the content of a cell …

Learn more

HtmlTextArea class properties and its descriptions

The HtmlTextArea control allows programmatic access to the HTML <textarea> element on the server and Web developers can use it to create a multiline text boxes on a Web page. The height and width of a multiple text boxes can be controlled by setting the Rows and Cols properties. Web developer can assign a name to the control …

Learn more

HtmlHead class properties and its descriptions

The HtmlHead control allows programmatic access to the HTML head element in server code. The HTML head element is a container that can contain additional information about the page and the HtmlHead control is useful for specifying page formatting information that can be accessed at run time.

Namespace: System.Web.UI.HtmlControls Assembly: System.Web (in System.Web.dll)

Property

Description

Supported in .NET version

Adapter

This property …

Learn more

HtmlSelect class properties and its descriptions

Web developers use the HtmlSelect control to create a selection box. They can determine item listings in the control by placing HTML <option> elements between the opening and closing <select> tags. Each item is represented by a System.Web.UI.WebControls.ListItem object.  Developers can specify the text that is displayed for each item in the control, by setting the ListItem.Text property …

Learn more

HtmlImage class properties and its descriptions

Web developers use this control to display an image on a Web page. The HtmlImage control can be programmatically manipulated to change the image displayed, the image size, and the alignment of the image relative to other page elements.

Namespace: System.Web.UI.HtmlControls Assembly: System.Web (in System.Web.dll)

Property

Description

Supported in .NET version

Adapter

This property gets the browser-specific adapter for the control. If …

Learn more

HtmlForm class properties and its descriptions

The HtmlForm control allows programmatic access to the HTML <form> element on the server. The control is a container for server controls on a Web Forms page and all server controls that post back to the server must be placed between its opening and closing tags. Web developer can control the behavior of the HtmlForm control by setting …

Learn more

HtmlButton class properties and its descriptions

The HtmlButton control allows programmatic access to the HTML <button> element on the server. To perform a set of custom instructions when the HtmlButton control is clicked, Web developer has to provide a custom event handler for the ServerClick event. The HtmlButton control renders ECMAScript to the client browser which must have ECMAScript enabled for this control to …

Learn more