System.Web.UI.WebControls.BaseDataBoundControl.OnDataPropertyChanged Method

Rebinds the data-bound control to its data after one of the base data source identification properties changes.

Syntax

protected virtual void OnDataPropertyChanged ()

Remarks

The BaseDataBoundControl.OnDataPropertyChanged method is called when the BaseDataBoundControl.DataSource, BaseDataBoundControl.DataSourceID, or DataMember property value changes any time after the page's System.Web.UI.Control.PreRender event has occurred.

Requirements

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