HtmlSelect.OnDataPropertyChanged Method

Definition

Invoked when the DataSource, DataMember, or DataSourceID property is changed.

protected:
 virtual void OnDataPropertyChanged();
protected virtual void OnDataPropertyChanged ();
abstract member OnDataPropertyChanged : unit -> unit
override this.OnDataPropertyChanged : unit -> unit
Protected Overridable Sub OnDataPropertyChanged ()

Exceptions

An attempt was made to change the property value during the data-binding phase of the control.

Remarks

The OnDataPropertyChanged method sets the RequiresDataBinding property to true if the DataSource, DataMember, or DataSourceID property has changed.

Applies to

See also