` element. In HTML, this element is used to create checkboxes."> ` element. In HTML, this element is used to create checkboxes." />
Easy Tutorial
❮ Prop Webcontrol Standard Height Prop Webcontrol Textbox Autopostback ❯

ASP.NET HtmlInputCheckBox Control



Definition and Usage

The HtmlInputCheckBox control is used to control the <input type="checkbox"> element. In HTML, this element is used to create checkboxes.


Properties and Events

Property Description
Attributes Returns all attribute names and values of the element.
Checked Boolean value that specifies whether the element is checked.
Disabled Boolean value that indicates whether the control is disabled. Default is false.
id The unique ID of the control.
Name The name of the element.
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.
Type The type of the element.
Value The value of the element.
Visible Boolean value that indicates whether the control is visible.
Event Description
ServerChange This event occurs when the control's state changes.

Example

HTMLInputCheckbox


❮ Prop Webcontrol Standard Height Prop Webcontrol Textbox Autopostback ❯