System.Web.UI.Design.HyperLinkDataBindingHandler.DataBindControl Method

Resolves design-time data-binding for the specified control.

Syntax

public override void DataBindControl (System.ComponentModel.Design.IDesignerHost designerHost, System.Web.UI.Control control)

Parameters

designerHost
The System.ComponentModel.Design.IDesignerHost for the document that contains the control.
control
The System.Web.UI.Control to data bind.

Remarks

This method determines whether the System.Web.UI.WebControls.HyperLink.Text and System.Web.UI.WebControls.HyperLink.NavigateUrl properties of the System.Web.UI.WebControls.HyperLink control are data-bound. If the System.Web.UI.WebControls.HyperLink.Text property is data-bound, this method sets the value of the property to "DataBound". If the System.Web.UI.WebControls.HyperLink.NavigateUrl property is data-bound, this method sets the value of the property to a text string so the control will have the appearance of a working hyperlink.

Requirements

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