Skip to content

ModalGridCustomizer.BindingBehaviors

ModalGridCustomizer.BindingBehaviors is the enum selecting how ModalGridCustomizer rebinds its target UltraWebGrid after the user applies column-visibility or paging changes in the popup.

Purpose

  • Configures whether the target grid is rebound via the page's clsObjectBindManager (ObjectBinder), the grid's own native DataBind() (DataBind), or by re-raising a BindGrid event for the hosting page's code-behind to handle (Custom).
  • Read by ModalGridCustomizer.BindingBehavior to decide which of InfragisticsGridCustomizer.BindObjectBinder, InfragisticsGridCustomizer.BindGrid, or the BindGrid event to invoke after a customization is applied.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.AJAX
  • Assembly/package: SAIF.Presentation.Web.Controls.AJAX.Infragistics103
  • Declared as a nested Public Enum inside ModalGridCustomizer.

Members

Member Purpose
ObjectBinder The default. The target grid is rebound through the page's named clsObjectBindManager control (TargetControls.ObjectBinderId, default "objBinder").
DataBind The target grid is rebound by calling its own native DataBind() method directly.
Custom ModalGridCustomizer raises its BindGrid event instead of rebinding the grid itself, letting the hosting page's code-behind perform custom rebind logic.

Behavioral notes

  • When ObjectBinder is selected (the default) but no matching clsObjectBindManager control is found on the page, resolving the object binder throws ApplicationException*.

Constraints and usage notes

  • This enum has exactly the three members listed; there is no additional rebind strategy beyond ObjectBinder, DataBind, and Custom.

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