System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner Members

The members of System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner are listed below.

See Also: Inherited members from System.Web.UI.Design.ControlDesigner

Protected Constructors

Public Properties

DataSourcestring.

Gets or sets the value of the System.Web.UI.WebControls.BaseDataBoundControl.DataSource property for the associated control.

DataSourceIDstring.

Gets or sets the value of the System.Web.UI.WebControls.BaseDataBoundControl.DataSourceID property of the underlying System.Web.UI.WebControls.BaseDataBoundControl object.

Public Methods

override
GetDesignTimeHtml() : string

Generates the markup that is used to render the control at design time.

override
Initialize(System.ComponentModel.IComponent)

Prepares the designer to view, edit, and design the associated control.

static
ShowCreateDataSourceDialog(System.Web.UI.Design.ControlDesigner, Type, bool, out string) : System.Windows.Forms.DialogResult
Documentation for this section has not yet been entered.

Protected Methods

abstract
ConnectToDataSource() : bool

When overridden in a derived class, typically unhooks events from the previous data source, and then attaches new events to the new data source.

abstract
CreateDataSource()

When overridden in a derived class, creates a new data source for the associated System.Web.UI.WebControls.BaseDataBoundControl object.

abstract
DataBind(System.Web.UI.WebControls.BaseDataBoundControl)

When overridden in a derived class, performs the necessary actions to set up the associated control that is derived from the System.Web.UI.WebControls.BaseDataBoundControl class.

abstract
DisconnectFromDataSource()

When overridden in a derived class, unhooks events from the current data source.

override
Dispose(bool)

Releases the unmanaged resources that are used by the System.Web.UI.Design.WebControls.BaseDataBoundControlDesigner object, and optionally releases the managed resources.

override
GetEmptyDesignTimeHtml() : string

Provides the markup that is used to render the control at design time if the control is empty or if the data source cannot be retrieved.

override
GetErrorDesignTimeHtml(Exception) : string

Provides the markup that is used to render the control at design time when an error has occurred.

OnDataSourceChanged(bool)

Called when the data source of the associated System.Web.UI.WebControls.BaseDataBoundControl object changes.

OnSchemaRefreshed()

Called when the data source of the associated System.Web.UI.WebControls.BaseDataBoundControl object loads a new schema.

override
PreFilterProperties(IDictionary)

Used by the designer to remove or add additional properties for display in the Properties grid or to shadow properties of the associated control.