The members of System.Web.UI.WebControls.ListControl are listed below.
See Also: Inherited members from System.Web.UI.WebControls.DataBoundControl
Initializes a new instance of the System.Web.UI.WebControls.ListControl class. |
AppendDataBoundItems | bool.
Gets or sets a value that indicates whether list items are cleared before data binding. | |
AutoPostBack | bool.
Gets or sets a value indicating whether a postback to the server automatically occurs when the user changes the list selection. | |
CausesValidation | bool.
Gets or sets a value indicating whether validation is performed when a control that is derived from the System.Web.UI.WebControls.ListControl class is clicked. | |
DataMember | string. Documentation for this section has not yet been entered. | |
DataSource | object. Documentation for this section has not yet been entered. | |
DataTextField | string.
Gets or sets the field of the data source that provides the text content of the list items. | |
DataTextFormatString | string.
Gets or sets the formatting string used to control how data bound to the list control is displayed. | |
DataValueField | string.
Gets or sets the field of the data source that provides the value of each list item. | |
[read-only] | Items | ListItemCollection.
Gets the collection of items in the list control. |
SelectedIndex | int.
Gets or sets the lowest ordinal index of the selected items in the list. | |
[read-only] | SelectedItem | ListItem.
Gets the selected item with the lowest index in the list control. |
SelectedValue | string.
Gets the value of the selected item in the list control, or selects the item in the list control that contains the specified value. | |
Text | string.
Gets or sets the ListControl.SelectedValue property of the System.Web.UI.WebControls.ListControl control. | |
ValidationGroup | string.
Gets or sets the group of controls for which the control that is derived from the System.Web.UI.WebControls.ListControl class causes validation when it posts back to the server. |
[read-only] override | TagKey | System.Web.UI.HtmlTextWriterTag.
Gets the System.Web.UI.HtmlTextWriterTag value for the System.Web.UI.WebControls.ListControl control. |
ClearSelection()
|
override | AddAttributesToRender(System.Web.UI.HtmlTextWriter)
| |
override | LoadViewState(object)
| |
override | OnDataBinding(EventArgs)
| |
override | OnPreRender(EventArgs)
| |
OnSelectedIndexChanged(EventArgs)
| ||
OnTextChanged(EventArgs)
| ||
override | PerformDataBinding(IEnumerable)
| |
override | PerformSelect()
| |
override | RenderContents(System.Web.UI.HtmlTextWriter)
| |
override | SaveViewState()
| |
SetPostDataSelection(int)
| ||
override | TrackViewState()
| |
VerifyMultiSelect()
|
SelectedIndexChanged |
Occurs when the selection from the list control changes between posts to the server. | |
TextChanged |
Occurs when the ListControl.Text and ListControl.SelectedValue properties change. |