System.Web.UI.HtmlControls.HtmlSelect: Method Members

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

See Also: Inherited members from System.Web.UI.HtmlControls.HtmlContainerControl

Protected Methods

override
AddParsedSubObject(object)

Adds a parsed child control to the System.Web.UI.HtmlControls.HtmlSelect control.

ClearSelection()

Clears the list selection of the System.Web.UI.HtmlControls.HtmlSelect control and sets the System.Web.UI.WebControls.ListItem.Selected property of all items to false.

override
CreateControlCollection() : System.Web.UI.ControlCollection

Creates an System.Web.UI.EmptyControlCollection object for the System.Web.UI.HtmlControls.HtmlSelect control.

EnsureDataBound()

Verifies that the System.Web.UI.HtmlControls.HtmlSelect control requires data binding and that a valid data source control is specified before calling the System.Web.UI.Control.DataBind method.

GetData() : IEnumerable

Gets an IEnumerable object that represents the data source that is bound to the System.Web.UI.HtmlControls.HtmlSelect control.

LoadPostData(string, System.Collections.Specialized.NameValueCollection) : bool

Processes the postback data for the System.Web.UI.HtmlControls.HtmlSelect control.

override
LoadViewState(object)

Restores the System.Web.UI.HtmlControls.HtmlSelect control's view state information from a previous page request that was saved by the HtmlSelect.SaveViewState method.

override
OnDataBinding(EventArgs)

Raises the System.Web.UI.Control.DataBinding event of an System.Web.UI.HtmlControls.HtmlSelect control.

OnDataPropertyChanged()

Invoked when the HtmlSelect.DataSource, HtmlSelect.DataMember, or HtmlSelect.DataSourceID property is changed.

OnDataSourceViewChanged(object, EventArgs)

Invoked when the HtmlSelect.DataSource, HtmlSelect.DataMember, or HtmlSelect.DataSourceID property is changed.

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event for the System.Web.UI.HtmlControls.HtmlSelect control.

override
OnLoad(EventArgs)

Raises the System.Web.UI.Control.Load event for the System.Web.UI.HtmlControls.HtmlSelect control.

OnPagePreLoad(object, EventArgs)
Documentation for this section has not yet been entered.
override
OnPreRender(EventArgs)

Raises the System.Web.UI.Control.PreRender event for the System.Web.UI.HtmlControls.HtmlSelect control.

OnServerChange(EventArgs)

Raises the HtmlSelect.ServerChange event of the System.Web.UI.HtmlControls.HtmlSelect control. This allows you to provide a custom handler for the event.

RaisePostDataChangedEvent()

Calls the HtmlSelect.OnServerChange(EventArgs) method to signal the System.Web.UI.HtmlControls.HtmlSelect control that the state of the control has changed.

override
RenderAttributes(System.Web.UI.HtmlTextWriter)

Renders the System.Web.UI.HtmlControls.HtmlSelect control's attributes to the specified System.Web.UI.HtmlTextWriter object.

override
RenderChildren(System.Web.UI.HtmlTextWriter)

Renders the System.Web.UI.HtmlControls.HtmlSelect control's child controls to the specified System.Web.UI.HtmlTextWriter object.

override
SaveViewState() : object

Saves any System.Web.UI.HtmlControls.HtmlSelect control view state changes that have occurred since the page was posted back to the server.

Select(int[])

Selects multiple items of the System.Web.UI.HtmlControls.HtmlSelect control's HtmlSelect.Items collection.

override
TrackViewState()

Tracks view state changes to the System.Web.UI.HtmlControls.HtmlSelect control so the changes can be stored in the control's System.Web.UI.StateBag object. This object is accessible through the System.Web.UI.Control.ViewState property.