BaseDataBoundControlDesigner.OnDataSourceChanged Method
.NET Framework 3.0
Called when the data source of the associated BaseDataBoundControl object changes.
Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in system.design.dll)
BaseDataBoundControlDesigner Members
System.Web.UI.Design.WebControls Namespace
ConnectToDataSource
UpdateDesignTimeHtml
BaseDataBoundControl
Walkthrough: Creating a Basic Control Designer for a Web Server Control
Assembly: System.Design (in system.design.dll)
The OnDataSourceChanged method connects to the current data source. If the current data source is different from the data source to which the control was previously connected, or forceUpdateView is true, the associated control is redrawn on the design surface.
Notes to Inheritors: Override the OnDataSourceChanged method to perform additional actions that are required when the data source of the associated control changes. If you override the OnDataSourceChanged method, call the base implementation before performing other processing.Reference
BaseDataBoundControlDesigner ClassBaseDataBoundControlDesigner Members
System.Web.UI.Design.WebControls Namespace
ConnectToDataSource
UpdateDesignTimeHtml
BaseDataBoundControl
Other Resources
Introduction to ASP.NET Control DesignersWalkthrough: Creating a Basic Control Designer for a Web Server Control
Community Additions
ADD
Show: