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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.