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 nativeDataBind()(DataBind), or by re-raising aBindGridevent for the hosting page's code-behind to handle (Custom). - Read by
ModalGridCustomizer.BindingBehaviorto decide which ofInfragisticsGridCustomizer.BindObjectBinder,InfragisticsGridCustomizer.BindGrid, or theBindGridevent 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 EnuminsideModalGridCustomizer.
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
ObjectBinderis selected (the default) but no matchingclsObjectBindManagercontrol is found on the page, resolving the object binder throwsApplicationException*.
Constraints and usage notes¶
- This enum has exactly the three members listed; there is no additional rebind strategy beyond
ObjectBinder,DataBind, andCustom.
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