Latest web development tutorials

ASP.NET CheckBox Checked property

Checkbox control CheckBox control

Definition and Usage

Checked attribute specifies whether the CheckBox control is selected.

CheckBox is unchecked by default.

grammar

<asp:CheckBox Checked="TRUE|FALSE"runat="server" />


Examples

The following examples will be verified when the CheckBox is selected:

<form runat="server">
<asp:CheckBox id="check1" runat="server"
Checked="TRUE" />
</form>

The demonstration >>

Checkbox control CheckBox control