System.Web.UI.WebControls.ListControl: Method Members

The methods of System.Web.UI.WebControls.ListControl are listed below. For a list of all members, see the ListControl Members list.

See Also: Inherited members from System.Web.UI.WebControls.DataBoundControl

Public Methods

ClearSelection()

Clears out the list selection and sets the ListItem.Selected property of all items to false.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Applies HTML attributes and styles to render to the specified System.Web.UI.HtmlTextWriter object.

override
LoadViewState(object)

Loads the previously saved view state of the System.Web.UI.WebControls.DetailsView control.

override
OnDataBinding(EventArgs)

Raises the System.Web.UI.Control.DataBinding event.

override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event.

OnSelectedIndexChanged(EventArgs)

Raises the ListControl.SelectedIndexChanged event. This allows you to provide a custom handler for the event.

OnTextChanged(EventArgs)

Raises the ListControl.TextChanged event.

override
PerformDataBinding(IEnumerable)

Binds the specified data source to the control that is derived from the System.Web.UI.WebControls.ListControl class.

override
PerformSelect()

Retrieves data from the associated data source.

override
RenderContents(System.Web.UI.HtmlTextWriter)

Renders the items in the System.Web.UI.WebControls.ListControl control.

override
SaveViewState() : object

Saves the current view state of the System.Web.UI.WebControls.ListControl -derived control and the items it contains.

SetPostDataSelection(int)

Sets the ListItem.Selected property of a System.Web.UI.WebControls.ListItem control after a page is posted.

override
TrackViewState()

Marks the starting point to begin tracking and saving view-state changes to a System.Web.UI.WebControls.ListControl -derived control.

VerifyMultiSelect()

Determines whether the list control supports multiselection mode.