System.Web.UI.WebControls.Repeater Members

The members of System.Web.UI.WebControls.Repeater are listed below.

See Also: Inherited members from System.Web.UI.Control

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.Repeater class.

Public Properties

AlternatingItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the object implementing System.Web.UI.ITemplate that defines how alternating items in the control are displayed.

[read-only]
override
ControlsSystem.Web.UI.ControlCollection.

Gets a System.Web.UI.ControlCollection that contains the child controls of the System.Web.UI.WebControls.Repeater control.

DataMemberstring.

Gets or sets the specific table in the Repeater.DataSource to bind to the control.

DataSourceobject.

Gets or sets the data source that provides data for populating the list.

DataSourceIDstring.

Gets or sets the System.Web.UI.Control.ID property of the data source control that the System.Web.UI.WebControls.Repeater control should use to retrieve its data source.

override
EnableThemingbool.

Gets or sets a value indicating whether themes are applied to this control.

FooterTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate that defines how the footer section of the System.Web.UI.WebControls.Repeater control is displayed.

HeaderTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate that defines how the header section of the System.Web.UI.WebControls.Repeater control is displayed.

[read-only]
ItemsRepeaterItemCollection.

Gets a collection of System.Web.UI.WebControls.RepeaterItem objects in the System.Web.UI.WebControls.Repeater control.

ItemTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate that defines how items in the System.Web.UI.WebControls.Repeater control are displayed.

SeparatorTemplateSystem.Web.UI.ITemplate.

Gets or sets the System.Web.UI.ITemplate interface that defines how the separator between items is displayed.

Protected Properties

[read-only]
Initializedbool.

Returns a value indicating whether the control has been initialized.

[read-only]
IsBoundUsingDataSourceIDbool.

Gets a value indicating whether the Repeater.DataSourceID property is set.

RequiresDataBindingbool.

Gets or sets a value indicating whether the System.Web.UI.WebControls.Repeater control needs to bind to its specified data source.

[read-only]
SelectArgumentsSystem.Web.UI.DataSourceSelectArguments.

Gets a System.Web.UI.DataSourceSelectArguments object that the System.Web.UI.WebControls.Repeater control uses when retrieving data from a data source control.

Public Methods

override
DataBind()

Binds the System.Web.UI.WebControls.Repeater control and all its child controls to the specified data source.

Protected Methods

override
CreateChildControls()
Documentation for this section has not yet been entered.
CreateControlHierarchy(bool)

Creates a control hierarchy, with or without the specified data source.

CreateDataSourceSelectArguments() : System.Web.UI.DataSourceSelectArguments

Returns the System.Web.UI.DataSourceSelectArguments.Empty value.

CreateItem(int, ListItemType) : RepeaterItem

Creates a System.Web.UI.WebControls.RepeaterItem object with the specified item type and location within the System.Web.UI.WebControls.Repeater control.

EnsureDataBound()

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

GetData() : IEnumerable

Returns an IEnumerable interface from the data source.

InitializeItem(RepeaterItem)

Populates iteratively the specified System.Web.UI.WebControls.RepeaterItem with a sub-hierarchy of child controls.

override
OnBubbleEvent(object, EventArgs) : bool

Raises the Repeater.ItemCommand event if the EventArgs parameter is an instance of System.Web.UI.WebControls.RepeaterCommandEventArgs.

override
OnDataBinding(EventArgs)

Raises the DataBinding event.

OnDataPropertyChanged()

Determines whether data binding is required.

OnDataSourceViewChanged(object, EventArgs)

Sets the Repeater.RequiresDataBinding property to true.

override
OnInit(EventArgs)

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

OnItemCommand(RepeaterCommandEventArgs)

Raises the Repeater.ItemCommand event.

OnItemCreated(RepeaterItemEventArgs)

Raises the Repeater.ItemCreated event.

OnItemDataBound(RepeaterItemEventArgs)

Raises the Repeater.ItemDataBound event.

override
OnLoad(EventArgs)

Raises the System.Web.UI.Control.Load event and performs other initialization.

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

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

Public Events

ItemCommand

Occurs when a button is clicked in the System.Web.UI.WebControls.Repeater control.

ItemCreated

Occurs when an item is created in the System.Web.UI.WebControls.Repeater control.

ItemDataBound

Occurs after an item in the System.Web.UI.WebControls.Repeater control is data-bound but before it is rendered on the page.