Link

A Stadium link control renders as a standard <a /> tag.

To make the link work, the click event of the link has to be created.



Add a Link


Properties

  1. Text

    The text to be shown in the link.
  2. Classes

    Classes for the link.
  3. Styles

    • Font - Set the link's text properties.
    • Colour - Set the colour of the link's font, background and border.
    • Margins - Set the margins (space) between the link's border and the nearest other control. (The value can be in cm, px or %, e.g. 10px)
    • Padding - Set the padding (space) between the link's text and the border of the link. (The value can be in cm, px or %, e.g. 15%)
  4. Visible

    Set to False if you don't want this control to render on the page and be visible to the user.

Assigning data to a Link

Example:

To display a link containing a specific value as text:

  1. Add a SetValue action to assign the value from the query to the Link's Text property.

Example:

To include a URL parameter with a link:

  1. Create the destination page.
    • In the page's Properties section, add a parameter for the page.
  2. Create a Click event for the link.
  3. Add a NavigateToPage action to the Click event handler
    • Select your destination page
    • Select the value to assign to the parameter
  4. On the destination page the parameter will be available to assign (using SetValue) to a control or to a variable for further use in queries or other actions.

Events

  1. Click

    An event that triggers when the link is clicked.