System.Web.UI.WebControls.Repeater.OnDataSourceViewChanged Method

Sets the Repeater.RequiresDataBinding property to true.

Syntax

protected virtual void OnDataSourceViewChanged (object sender, EventArgs e)

Parameters

sender
The source of the event.
e
An EventArgs object that contains the event data.

Remarks

The Repeater.OnDataSourceViewChanged(object, EventArgs) method is a helper method that participates in the data binding process. This method is called when the System.Web.UI.DataSourceView object that is associated data source control raises its System.Web.UI.DataSourceView.DataSourceViewChanged event. The event causes the System.Web.UI.WebControls.Repeater control to bind data to the updated data.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0