NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HtmlButton Control

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

Web Forms Controls by Function |