Skip to content

CustomBindingControls

Dual-binding registration uses this enum as a binder-selection key, allowing clsObjectBindManager.AddDualBinder() to instantiate the correct concrete binder when a control displays one object/property pair but validates against another. It defines the limited set of control families that participate in this cross-binding pattern.

Purpose

  • Maps a dual-binding request to the concrete binder class that can manage that control type.
  • Constrains cross-validation scenarios to the control families explicitly supported by AddDualBinder().

Context

  • Namespace: SAIF.Presentation.Web.Binding
  • Assembly/package: SAIF.Presentation.Web.Binding.Infragistics103 (embedded/bundled as source, not independently packaged)

Public members

Member Signature Purpose
TextBox CustomBindingControls.TextBox Builds a text-box binder for dual binding between displayed content and a separate validation source.
DropDownList CustomBindingControls.DropDownList Builds a drop-down binder for dual binding when selection display and validation target differ.
SAIFWebMaskEdit CustomBindingControls.SAIFWebMaskEdit Builds the SAIF mask-edit binder, optionally using supplied mask-edit argument objects.
WebDateTimeEdit CustomBindingControls.WebDateTimeEdit Builds a classic Infragistics date-time-edit binder, with optional target-as-string configuration.
WebTextEdit CustomBindingControls.WebTextEdit Builds a classic Infragistics text-edit binder for dual-bound text entry.
WebMaskEdit CustomBindingControls.WebMaskEdit Builds a classic Infragistics mask-edit binder, with optional target object data type configuration.

Behavioral notes

  • clsObjectBindManager.AddDualBinder() switches on this enum and then calls SetDualBinding() on the selected binder so binding and validation can target different object/property pairs.
  • Only the members listed here are supported by the dual-binding factory path; there is no fallback binder for other control families.

Constraints and usage notes

  • Pass any required binder-specific argument object when using SAIF mask-edit, date-time-edit, or mask-edit control types.
  • The enum does not cover newer grid, editor, or checkbox binders, so those controls cannot be registered through AddDualBinder() without code changes.

Sources

  • SAIF.Presentation.Web.Binding.Infragistics103\Enums.vb
  • SAIF.Presentation.Web.Binding.Infragistics103\clsObjectBindManager.vb