VisibleDate
specifies a DateTime value that sets the month to dis-
play
WeekendDayStyle
specifies the style to use for weekend days
Events
DayRender
raised before each day cell is rendered on the calendar
SelectionChanged
raised when a new day, month, or week is selected
VisibleMonthChanged
raised by clicking the next or previous month links
CheckBox
Properties
AutoPostBack
when True, automatically posts the form containing
the CheckBox whenever its checked or unchecked
Checked
shows the CheckBox as checked if set to True
Text
specifies the text displayed next to the CheckBox
TextAlign
determines how the text associated with the CheckBox
is aligned; possible values are Left and Right
Events
CheckedChanged
raised when the CheckBox is checked or unchecked
CheckBoxList
Properties
AutoPostBack
if True, automatically posts the form containing the
CheckBoxList whenever a CheckBox is checked or un-
checked
CellPadding
sets the number of pixels between the border and a
particular CheckBox
617
CheckBox
CellSpacing
sets the number of pixels between individual
CheckBoxes within the CheckBoxList
DataMember
represents the particular table within the data source
DataSource
represents the actual data source to use when binding
to a CheckBoxList
DataTextField
represents the field within the data source to use with
the CheckBoxList text label
DataTextFormatString
a format string that determines how the data is dis-
played
DataValueField
represents the field within the data source to use with
the CheckBoxLists value
Items
the collection of items within the CheckBoxList
RepeatColumns
determines the number of columns to use when display-
ing the CheckBoxList
RepeatDirection
indicates the direction in which the CheckBoxes should
repeat; possible values are Horizontal and Vertical
RepeatLayout
determines how the check boxes are formatted; possible
values are Table and Flow; default is Table
SelectedIndex
represents the index selected within the CheckBoxList
SelectedItem
represents the item selected within the CheckBoxList
Events
SelectedIndexChanged
raised when a CheckBox within the CheckBoxList is
selected
618
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.