Web developers can use this class to programmatically access the HTML <input type= image> element on the server and to control the action associated with the HtmlInputImage control by providing an event handler for the ServerClick event. The coordinates where the user clicks an HtmlInputImage control can be determined by using the ImageClickEventArgs.X and ImageClickEventArgs.Y properties of the …
asp.net 2.0
The HtmlInputHidden control allows programmatic access to the HTML <input type=hidden> element on the server. Web developers can use this control to embed information that is hidden from the user within a <form> element. This information is sent when the Web page is posted back to the server. The HtmlInputHidden control provides a ServerChange event that is raised …
Web developers can use this class to programmatically access the HTML <input type= file> element on the server and to use the control to handle uploading binary or text files from a browser client to the server. The HtmlInputFile control is designed to be used only in postback scenarios and not in asynchronous postback scenarios during partial-page rendering. …
The HtmlInputCheckBox control allows programmatic access to the HTML <input type= checkbox> element on the server. Web developers use the HtmlInputCheckBox control to allow the end user to select a true or false state. They can specify whether the control is selected, by using the Checked property. The HtmlInputCheckBox control provides a ServerChange event that is raised when …
The HtmlInputButton control allows programmatic access to the HTML <input type= button>, <input type= submit>, and <input type= reset> elements on the server. An <input type=button> HTML element is a push button with no default behavior when clicked. An <input type=submit> HTML element is a button that submits a form when clicked. An <input type=reset> HTML button resets …
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 …
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 …
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 …
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 …
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 …