ASP.NET Checked Property


Checkbox Control Reference Complete CheckBox Control Reference

Definition and Usage

The Checked property specifies whether or not a CheckBox control is checked.

By default a checkbox is not checked.

Syntax

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

Example

The following example validates when a checkbox is selected:

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

Show example »

Checkbox Control Reference Complete CheckBox Control Reference

SHARE THIS PAGE

COLOR PICKER

colorpicker





Search w3schools.com:

Translate w3schools.com: