Properties
Attributes
a collection of the elements attribute names and their
values
CausesValidation
if True, validation is performed when the button is
clicked; default is True
Disabled
if set to True, the control will be disabled
ID
contains the controls ID
Name
the name of the button
Style
contains the controls CSS properties
TagName
returns the elements tag name
Type
specifies the type of control displayed by this input
element
Value
equivalent to the value attribute of the HTML tag
Visible
if set to False, the control wont be visible
Events
ServerClick
raised when the user clicks the button
HtmlInputCheckBox Control
The HtmlInputCheckBox control corresponds to an <input type="checkbox"
runat="server"> tag.
Properties
Attributes
a collection of the elements attribute names and their
values
Checked
a Boolean value that specifies whether or not the ele-
ment is to be checked; default is False
648
Appendix A: Web Control Reference

Get Build Your Own ASP.NET 2.0 Web Site Using C# & VB, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.