Buttons have a Click event that you can hook up to an action.

Add a button


  1. Text

    The text on the button.
  2. Classes

    Classes for the button.
  3. Styles

    • Font - Set the button's text properties.
    • Colour - Set the colour of the button's font, background and border.
    • Margins - Set the margins (space) between the button'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 button's text and the border of the button. (The value can be in cm, px or %, e.g. 15%)
  4. Tool Tip

    The tooltip that shows when users hover on the button.
  5. Visible

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


  1. Click

    An event that triggers when the button is clicked.

Add a button click event handler