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

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

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

Public Methods

override
DataBind()

Binds the control and all its child controls to the specified data source.

static
IsBindableType(Type) : bool

Determines whether the specified data type can be bound to a list control that derives from the System.Web.UI.WebControls.BaseDataList class.

Protected Methods

override
AddParsedSubObject(object)

Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's System.Web.UI.ControlCollection collection.

override
CreateChildControls()

Creates a child control using the view state.

abstract
CreateControlHierarchy(bool)

When overridden in a derived class, creates the control hierarchy for the data listing control with or without the specified data source.

CreateDataSourceSelectArguments() : System.Web.UI.DataSourceSelectArguments

Creates a default System.Web.UI.DataSourceSelectArguments object used by the data-bound control if no arguments are specified.

EnsureDataBound()

Verifies that the data listing control requires data binding and that a valid data source control is specified before calling the BaseDataList.DataBind method.

GetData() : IEnumerable

Returns an IEnumerable-implemented object that represents the data source.

override
OnDataBinding(EventArgs)

Raises the System.Web.UI.Control.DataBinding event of a System.Web.UI.WebControls.BaseDataList control.

OnDataPropertyChanged()

Called when one of the base data source identification properties is changed, to rebind the data-bound control to its data.

OnDataSourceViewChanged(object, EventArgs)

Raises the System.Web.UI.DataSourceView.DataSourceViewChanged event.

override
OnInit(EventArgs)

Raises the System.Web.UI.Control.Init event for the System.Web.UI.WebControls.BaseDataList control.

override
OnLoad(EventArgs)

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

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

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

OnSelectedIndexChanged(EventArgs)

Raises the BaseDataList.SelectedIndexChanged event of a System.Web.UI.WebControls.BaseDataList control.

abstract
PrepareControlHierarchy()

Sets up the control hierarchy for the data-bound control.

override
Render(System.Web.UI.HtmlTextWriter)

Renders the control to the specified HTML writer.