asp.net.ph

ListControl Class

System.Web.UI.WebControls Namespace


Serves as the abstract base class that defines the properties, methods, and events common to all selectable list-type controls.

ListControl Class Members

Collapse   Constructors

Visibility Constructor Parameters
public ListControl ( )

Collapse   Properties

Visibility Name Value Type Accessibility
public AppendDataBoundItems Boolean [ Get , Set ]
public AutoPostBack Boolean [ Get , Set ]
public CausesValidation Boolean [ Get , Set ]
public DataTextField String [ Get , Set ]
public DataTextFormatString String [ Get , Set ]
public DataValueField String [ Get , Set ]
public Items ListItemCollection [ Get ]
public SelectedIndex Int32 [ Get , Set ]
public SelectedItem ListItem [ Get ]
public SelectedValue String [ Get , Set ]
public Text String [ Get , Set ]
public ValidationGroup String [ Get , Set ]

Collapse   Methods

Visibility Name Parameters Return Type
protected AddAttributesToRender ( HtmlTextWriter writer ) Void
public ClearSelection ( ) Void
protected LoadViewState ( Object savedState ) Void
protected OnDataBinding ( EventArgs e ) Void
protected OnSelectedIndexChanged ( EventArgs e ) Void
protected OnTextChanged ( EventArgs e ) Void
protected PerformSelect ( ) Void
protected SaveViewState ( ) Object
protected SetPostDataSelection ( Int32 selectedIndex ) Void
protected TrackViewState ( ) Void

Collapse   Events

Multicast Name Type
multicast SelectedIndexChanged EventHandler
multicast TextChanged EventHandler

Remarks

The ListControl class provides the common base functionality inherited by list controls that are derived from this class. Classes that derive from ListControl include the CheckBoxList, DropDownList, ListBox, and RadioButtonList classes.

The ListControl class allows you to specify the source of the data to populate the list control.

Options in a ListControl object are indexed in the order in which they are defined, starting with an index of zero.

See Also

CheckBoxList   DropDownList   ListBox   RadioButtonList Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph