---
title: AppViewMasterPageBase.NavigationManager
summary: API reference for AppViewMasterPageBase.NavigationManager.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-08-17
library: SAIF.Presentation.Web.Core.Infragistics111
reference_type: package
---

# AppViewMasterPageBase.NavigationManager

`AppViewMasterPageBase.NavigationManager` is a nested helper class that provides a session-state-backed alternative to `AppViewMasterPageBase`'s direct `FocusControl` property. Rather than driving focus immediately from a `Control` reference during the current page's rendering lifecycle, it classifies a control by its bound control ID, stores the derived focus target in `Session("focuscontrol")`, and emits legacy Infragistics 11.1 client script (`igdrp_`/`igcmbo_`/ `igedit_` calls) that can run across a redirect or a different page in the same session.

## Purpose
- Classify a control by its `BoundControlId`, redirecting the `SAIFMENU` control's focus target to the `CVTextBox` context box so menu-driven navigation lands the user in the correct context field. ([BR-CORE-031](../../business-rules.md#br-core-031-the-saifmenu-controls-focus-target-is-redirected-to-the-cvtextbox-context-box))
- Persist the derived focus target in `Session("focuscontrol")` so it survives a redirect to a different page within the same session.
- Generate legacy Infragistics client script (`igdrp_`, `igcmbo_`, `igedit_` focus/select calls) appropriate to the stored control's type.

## Context
- Namespace: `SAIF.Presentation.Web.Core` (nested inside `AppViewMasterPageBase`)
- Assembly/package: `SAIF.Presentation.Web.Core.Infragistics111` (merged into `SAIF.Presentation.Web.Infragistics111.dll` via `SAIF.BOF.Presentation.Web.Infragistics111.nuspec`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `BoundControlId` | `Public Property BoundControlId As String` | Setting this property classifies the target control and stores the derived focus ID in `Session("focuscontrol")`; the `SAIFMENU` control name is redirected to the `CVTextBox` context box. |
| `GenerateScripts()` | `Public Function GenerateScripts() As String` | Reads the stored `Session("focuscontrol")` value and emits the matching legacy Infragistics `igdrp_`/`igcmbo_`/`igedit_` focus (and, where applicable, select) client-side call for that control. |

## Behavioral notes
- Because the focus target is stored in session state rather than passed as a live `Control` reference, `NavigationManager` can drive focus on the page that is rendered *after* a redirect, which the sibling `FocusControl` property on `AppViewMasterPageBase` cannot do.
- Redirecting the `SAIFMENU` control's target to `CVTextBox` means callers that set `BoundControlId = "SAIFMENU"` should expect the context text box, not the menu control itself, to receive client-side focus.

## Constraints and usage notes
- Callers must set `BoundControlId` before the page that reads `Session("focuscontrol")` renders, or `GenerateScripts` will have nothing meaningful to emit.**

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `SAIF.Presentation.Web.Core.Infragistics111/AppViewMasterPageBase.vb`
