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

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

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

Public Methods

GetSelectedIndices() : int[]

Gets the array of index values for currently selected items in the System.Web.UI.WebControls.ListBox control.

Protected Methods

override
AddAttributesToRender(System.Web.UI.HtmlTextWriter)

Adds name, size, multiple, and onchange to the list of attributes to render.

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

Loads the posted content of the list control, if it is different from the last posting.

override
OnPreRender(EventArgs)

Configures the System.Web.UI.WebControls.ListBox control prior to rendering on the client.

RaisePostDataChangedEvent()

Invokes the ListControl.OnSelectedIndexChanged(EventArgs) method whenever posted data for the System.Web.UI.WebControls.ListBox control has changed.

override
RenderContents(System.Web.UI.HtmlTextWriter)
Documentation for this section has not yet been entered.
override
VerifyMultiSelect()
Documentation for this section has not yet been entered.