Skip to content

clsControlManager.DDLAddItems

DDLAddItems is a public enum nested inside clsControlManager that controls what kind of blank placeholder item — if any style is requested — is prepended to a dropdown list when LoadDDL binds it, so callers can choose between an explicit literal placeholder, an empty string, or a single space without hardcoding string values at each call site.

Purpose

  • Let callers of LoadDDL select the visual style of the blank/placeholder first item added to a dropdown list during data binding.
  • Avoid ad-hoc string literals ("", " ", a fixed label) scattered across consuming application code for the same purpose.

Context

  • Namespace: SAIF.Presentation.Web.Core.Utilities
  • Assembly/package: SAIF.Presentation.Web.Core.Infragistics103 (merged into SAIF.BOF.Presentation.Web.Infragistics103 NuGet package)
  • Declaring type: clsControlManager

Values

Value Purpose
BlankLiteral Prepends a placeholder item using a fixed literal blank label rather than an empty string*.
EmptyString Prepends a placeholder item whose text/value is an empty string.
Space Prepends a placeholder item whose text/value is a single space character.

Behavioral notes

  • Consumed exclusively by the various LoadDDL overloads on clsControlManager to decide the blank-item style prepended before binding the remainder of a value list to a dropdown or grid control.

Constraints and usage notes

  • This enum has no members beyond the three placeholder styles; callers select exactly one value per LoadDDL invocation.

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.Infragistics103\clsControlManager.vb