---
title: SAIFButton
summary: API reference for SAIFButton.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Presentation.Web.Controls.V2
reference_type: package
---

# SAIFButton

A styled submit button that can show an activity indicator and disable the surrounding form on click, giving pages a consistent busy-state UX for long-running postbacks without custom script [BR-V2-092](../../business-rules.md#br-v2-092-activity-indicator-switches-to-the-indicator-css-class).

## Purpose
- Switches its CSS class to an indicator style when `EnableIndicator` is set, to give visual feedback during a postback [BR-V2-092](../../business-rules.md#br-v2-092-activity-indicator-switches-to-the-indicator-css-class).
- Registers its own client script for the indicator/disable behavior rather than depending on a shared page-level script [BR-V2-093](../../business-rules.md#br-v2-093-each-interactive-control-registers-its-own-script).

## Context
- Namespace: `SAIF.Presentation.Web.Controls.V2`
- Assembly/package: `SAIF.Presentation.Web.Controls.V2` (packaged in `SAIF.BOF.Presentation.Web.Infragistics111.nuspec`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| EnableIndicator | `Public Property EnableIndicator As Boolean` | Enables the activity-indicator CSS class swap on click [BR-V2-092](../../business-rules.md#br-v2-092-activity-indicator-switches-to-the-indicator-css-class). |
| DisableFormControlsOnClick | `Public Property DisableFormControlsOnClick As Boolean` | Disables other form controls on click to prevent concurrent interaction during postback. |
| OnPreRender | `Protected Overrides Sub OnPreRender(e As EventArgs)` | Registers `Button.js` and wires the click-time indicator/disable behavior [BR-V2-093](../../business-rules.md#br-v2-093-each-interactive-control-registers-its-own-script). |

## Behavioral notes
- Registers its client script independently of `SAIFComboBox`/`SAIFListBox`, even though all three share the same indicator/disable behavior pattern [BR-V2-093](../../business-rules.md#br-v2-093-each-interactive-control-registers-its-own-script).

## Sources
- `SAIF.Presentation.Web.Controls.V2/SAIFButton.vb`
