HtmlSelect::OnDataPropertyChanged Method ()
.NET Framework (current version)
Invoked when the DataSource, DataMember, or DataSourceID property is changed.
Assembly: System.Web (in System.Web.dll)
| 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
Available since 2.0
Show: