HtmlSelect.OnDataPropertyChanged Method ()

 

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

Namespace:   System.Web.UI.HtmlControls
Assembly:  System.Web (in System.Web.dll)

protected virtual void OnDataPropertyChanged()

Exception Condition
HttpException

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

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

.NET Framework
Available since 2.0
Return to top
Show: