FieldLabel Tag

Purpose

The GEN:FieldLabel tag places the name of a database field on the created page.  Typically this label is the name of the field, though it can be anything you want.  Use the Property Sheet to specify the actual field whose label is to be displayed.  Use the Databases tab in Iron Speed Designer to change the default field names used.

The FieldLabel tag displays column headings in a table.

The FieldLabel tag can also be used to sort a column within a table.  This control will sort the table when clicked if the “Control type” property is set to “Hyperlink” in the Property Sheet,

Examples

<GEN:FieldLabel Name=“FirstNameLabel” />

Application Generation Properties (Iron Speed Designer)

These properties control specific types of controls created by Iron Speed Designer.

Property

Description

Control type

Specifies the type of control to display.

HyperLink

The FieldLabel tag will display a clickable link, allowing the associated table column to be sorted.

Label

Creates a Label control tag.  The label may include HTML formatting, including a surrounding <span> HTML tag.  The resulting value is enclosed in a <span> tag.  You can also manipulate the text programmatically in the Presentation Layer code.

You may also add formatting via the Property Sheet.

Literal

Creates a Literal control tag without adding any HTML formatting. The resulting value is not enclosed in a <span> tag.  You can manipulate the text programmatically in the Presentation Layer code.

You may not add formatting via the Property Sheet.

Database field

Specifies the database field whose field name is displayed in the label, in the format:

<TABLE>.<FIELD>

Table control to sort

Indicates the table control to which the sort applies.  There may be multiple tables on a page, and at least one table must be selected.

ASP.NET Properties

See ASP.NET Control Properties for details.

See Also

Code Generation Tags

Code Generation Tag Properties