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

# BannerControl

Renders the shared Business Online site banner by loading `/Resources/SiteBanner.xml` and substituting placeholders for the page title and dynamic links, with separate print and internal/external display variants [BR-V2-004](../../business-rules.md#br-v2-004-banner-markup-is-xml-driven).

## Purpose
- Loads and interprets the XML banner definition rather than hard-coding markup [BR-V2-004](../../business-rules.md#br-v2-004-banner-markup-is-xml-driven).
- Suppresses all output when the banner path cannot be resolved or when the control is in design mode [BR-V2-003](../../business-rules.md#br-v2-003-missing-banner-definition-suppresses-all-rendering).

## 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 |
| --- | --- | --- |
| PrintPageTitle | `Public Property PrintPageTitle As String` | Text substituted for the `[TITLE]` placeholder in both banner variants. |
| ShowInternalDisplayBanner | `Public Property ShowInternalDisplayBanner As Boolean` | Controls whether the display (non-print) banner section renders at all [BR-V2-007](../../business-rules.md#br-v2-007-display-banner-suppressed-when-internal-visibility-is-off). |
| DisplayBannerLogout | `Public Property DisplayBannerLogout As Boolean` | Opts the logout link into the rendered banner when the application is not itself the login page [BR-V2-010](../../business-rules.md#br-v2-010-logout-link-requires-opt-in-and-non-login-application). |
| LoggingIn | `Public Property LoggingIn As Boolean` | Switches the feedback link between a plain XML-defined link and a sized pop-up window [BR-V2-011](../../business-rules.md#br-v2-011-login-application-shows-a-plain-feedback-link). |
| Render | `Public Overrides Sub Render(writer As HtmlTextWriter)` | Executes the XML-driven banner rendering pipeline described in Render the site banner. |

## Behavioral notes
- In design mode, renders a static placeholder `<div>` instead of evaluating the XML banner*.

## Constraints and usage notes
- Requires the banner definition XML to exist at the resolved site path; the control cannot self-recover if the file is missing [BR-V2-003](../../business-rules.md#br-v2-003-missing-banner-definition-suppresses-all-rendering).

> **Note:** Statements marked with `*` were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts.

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