Label

A Stadium label control renders as a standard <span /> tag. Custom font styles are placed in a style attribute in the span tag (inline). Such custom font styles will always override your stylesheet. You can change the label text by assigning a new value to the label in a script.



Add a Label


Properties

  1. Text

    The text to be shown in the label.
  2. 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 Label

Example:

To display a Label containing a specific value retrieved by a SQL query:

  1. Use an appropriate Event, e.g. Load (page) or Click (button) to which a SetValue action can be added.
  2. Add a SetValue action to assign the value from the query to the Label's Text property.