BaseDataBoundControlDesigner.OnDataSourceChanged Method
.NET Framework 2.0
Note: This method is new in the .NET Framework version 2.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.Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Reference
BaseDataBoundControlDesigner ClassBaseDataBoundControlDesigner Members
System.Web.UI.Design.WebControls Namespace
ConnectToDataSource
UpdateDesignTimeHtml
BaseDataBoundControl
Other Resources
ASP.NET Control Designers OverviewWalkthrough: Creating a Basic Control Designer for a Web Server Control
Show: