System.Web.UI.WebControls.HyperLinkField Members

The members of System.Web.UI.WebControls.HyperLinkField are listed below.

See Also: Inherited members from System.Web.UI.WebControls.DataControlField

Public Constructors

Initializes a new instance of the System.Web.UI.WebControls.HyperLinkField class.

Public Properties

DataNavigateUrlFieldsstring[].

Gets or sets the names of the fields from the data source used to construct the URLs for the hyperlinks in the System.Web.UI.WebControls.HyperLinkField object.

DataNavigateUrlFormatStringstring.

Gets or sets the string that specifies the format in which the URLs for the hyperlinks in a System.Web.UI.WebControls.HyperLinkField object are rendered.

DataTextFieldstring.

Gets or sets the name of the field from the data source containing the text to display for the hyperlink captions in the System.Web.UI.WebControls.HyperLinkField object.

DataTextFormatStringstring.

Get or sets the string that specifies the format in which the hyperlink captions in a System.Web.UI.WebControls.HyperLinkField object are displayed.

NavigateUrlstring.

Gets or sets the URL to navigate to when a hyperlink in a System.Web.UI.WebControls.HyperLinkField object is clicked.

Targetstring.

Gets or sets the target window or frame in which to display the Web page linked to when a hyperlink in a System.Web.UI.WebControls.HyperLinkField object is clicked.

Textstring.

Gets or sets the text to display for each hyperlink in the System.Web.UI.WebControls.HyperLinkField object.

Public Methods

override
Initialize(bool, System.Web.UI.Control) : bool

Initializes the System.Web.UI.WebControls.HyperLinkField object.

override
InitializeCell(DataControlFieldCell, DataControlCellType, DataControlRowState, int)

Initializes a cell in a System.Web.UI.WebControls.HyperLinkField object.

override
ValidateSupportsCallback()

Indicates that the controls contained by the System.Web.UI.WebControls.HyperLinkField object support callbacks.

Protected Methods

override
CopyProperties(DataControlField)

Copies the properties of the current System.Web.UI.WebControls.HyperLinkField object to the specified object.

override
CreateField() : DataControlField

Returns a new instance of the System.Web.UI.WebControls.HyperLinkField class.

FormatDataNavigateUrlValue(object[]) : string

Formats the navigation URL using the format string specified by the HyperLinkField.DataNavigateUrlFormatString property.

FormatDataTextValue(object) : string

Formats the caption text using the format string specified by the HyperLinkField.DataTextFormatString property.