Udostępnij za pośrednictwem


AxHyperLinkBoundField

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

An AxHyperLinkBoundField component displays a single value in a form or grid. The data for the field comes from the AxDataSource linked to the form or grid. The field is also a hyperlink that when clicked will navigate to another page in Enterprise Portal.

Important

The AxHyperLinkBoundField can be used to link to a record that is in the current company. It cannot be used to link to a record in another company.

Properties

The AxHyperLinkBoundField component has the same properties as the AxBoundField component. It also has the following additional properties:

Behavior

Property

Description

ImageUrl

Specifies the fully qualified or relative URL to an image that is displayed for the field.

MenuItem

The Web Url menu item from the AOT that specifies what page is to be opened when the field is clicked.

RecordContextDataSource

Specifies the data source to use when passing the record context to the item being opened by the hyperlink. If no value is supplied, the default data source will be used.

Target

Specifies the target window or frame in which to load the page specified by the MenuItem property. Choose one of the following values:

_blank - Displays the content in a new browser window without frames.

_parent - Displays the content in the immediate parent frameset.

_search - This value is not used.

_self -Displays the content in the frame that currently has focus.

_top - Displays the content in the current browser window without frames.

Data

Property

Description

DataMenuItemField

If a field in a data source contains the value that specifies the Web menu item to display when the field is clicked, set this property to the name of that field. This allows the hyperlink destination to be set based on the data being displayed.

Events

The AxHyperLinkBoundField component has the events listed in the following table.

Event

Description

DataChanged

Occurs when the data in the field has changed.

FormattingValue

Occurs when the data in the field is formatted.

Lookup

Occurs when the lookup for the field is clicked.