W3Schools.com

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
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
Download XML Editor
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE