System.Web.UI.Design.HierarchicalDataSourceDesigner.OnDataSourceChanged Method

Raises the HierarchicalDataSourceDesigner.DataSourceChanged event when the properties of the data source have changed and the HierarchicalDataSourceDesigner.SuppressingDataSourceEvents property value is false.

Syntax

protected virtual void OnDataSourceChanged (EventArgs e)

Parameters

e
An EventArgs object provided by the calling object.

Remarks

The HierarchicalDataSourceDesigner.OnDataSourceChanged(EventArgs) method notifies the designer of each control bound to the associated data source to refresh its control in the design host. This method can be suppressed with the HierarchicalDataSourceDesigner.SuppressDataSourceEvents method, or by calling the HierarchicalDataSourceDesigner.RefreshSchema(bool) method with an argument of false.

Requirements

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