Skip to content

Control-manager enableability helpers

Expose a lightweight attribute-based mechanism for excluding controls from bulk enable/disable operations. Called by other controls in this library (for example SAIFMessage) and by clsControlManager in SAIF.Presentation.Web.Core.Infragistics111.

Field Value
Operation ID OP-V2-012
Trigger Called by other controls in this library (for example SAIFMessage) and by clsControlManager in SAIF.Presentation.Web.Core.Infragistics111.
Inputs A target Control, an enableable Boolean.
Outputs The ControlManagerEnableable string attribute on the target control; a Boolean enableability check result.
Primary components Utilities.mdlUtilities
Entry point SAIF.Presentation.Web.Controls.V2/mdlUtilities.vb

Steps

  1. SetControlManagerEnableable(control, enableable) adds the string attribute ControlManagerEnableable with the Boolean's string form to the target control. (BR-V2-078, BR-V2-080)
  2. Repeated calls for the same control may add duplicate attributes; this is flagged as untested in the source.
  3. CanControlManagerEnableControl(control) returns the parsed attribute value when the control has attributes and the attribute is present; otherwise it returns True. (BR-V2-079)
  4. Origin: Consumed by clsControlManager in SAIF.Presentation.Web.Core.Infragistics111 (external to this library).

Process flow

The following diagram visualizes this operation's control flow.

flowchart TD
    Start([SetControlManagerEnableable]) --> Add[Add ControlManagerEnableable attribute]
    Add --> Done1([Attribute set])
    Start2([CanControlManagerEnableControl]) --> Has{Attribute present?}
    Has -->|Yes| Parse[Return parsed value]
    Has -->|No| DefaultT([Return True])

Failure and edge-case behavior

  • No exceptional failure handling beyond the branches described in Steps was found in the analysis findings.*

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.Controls.V2/mdlUtilities.vb