The HtmlButton control allows developers to program against the HTML <button>
element. Developers can use this control to customize the appearance of the buttons that they place in .aspx pages. The HTML 4.0 <button>
element enables web developers to create UI form buttons composed from embedded HTML elements (and even other server controls).
Important The <button>
element is defined in the HTML 4.0 specification. Therefore the HtmlButton control is only supported in Microsoft Internet Explorer versions 4.0 and above.
ASP+ Syntax
Required properties are noted in boldface type.
<button runat="server" id="programmaticID" OnServerClick="onserverclickhandler" > buttontextorimage </button>
Tasks
Modifying the Appearance of a Button
Writing Event Handlers for HTML Server Controls
See Also