HtmlButton Object— <button> Element

This performs a task.This control can contain any arbitrary HTML; therefore, it is very flexible in look and feel. However, it is not compatible with all browsers. Table D.18 lists the properties of the HtmlButton object, and Table D.19 lists the event.

Table D.18. Properties of the HtmlButton Object
Property Description
ID Gets or sets the ID (identifier) of the HtmlButton control.
Value Gets or sets the Caption of the button.
InnerHtml Gets or sets the content found between the opening and closing tags of the control. The InnerHtml does not provide automatic HTML encoding and decoding.
InnerText Gets or sets all text between the opening and closing tags of the specified control. The InnerText provides automatic ...

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.