Easy Tutorial
❮ Control Htmlgeneric Prop Webcontrol Calendar Showtitle ❯

ASP.NET HtmlButton Control



Definition and Usage

The HtmlButton control is used to control the <button> element. In HTML, the <button> element is used to create a push button.


Properties

Property Description
Attributes Returns all attribute names and value pairs of the element.
Disabled Boolean value indicating whether the control is disabled. Default is false.
id The unique ID of the control.
InnerHtml Sets or returns the content between the start and end tags of the HTML element. Special characters are not automatically converted to HTML entities.
InnerText Sets or returns all text between the start and end tags of the HTML element. Special characters are automatically converted to HTML entities.
OnServerClick The name of the function to be executed when the button is clicked.
runat Specifies that the control is a server control. Must be set to "server".
Style Sets or returns the CSS properties applied to the control.
TagName Returns the tag name of the element.
Visible Boolean value indicating whether the control is visible.
❮ Control Htmlgeneric Prop Webcontrol Calendar Showtitle ❯