ModalGridCustomizer.BindingBehaviors¶
BindingBehaviors is a public enum nested inside ModalGridCustomizer. It is the designer-configurable value behind the BindingBehavior property, and it selects which of three rebind strategies ModalGridCustomizer uses to refresh the target grid after the user applies column/page-size customization. (BR-AJAX-038)
Purpose¶
- Lets the page author choose whether the grid is rebound through the page's object binder, the grid's native
DataBind, or a fully custom handler, matching however the hosting page already manages its data. (BR-AJAX-038) - Drives the branching in
CustomizationPanel_BindGrid, which is the single place this enum is consumed.
Context¶
- Namespace:
SAIF.Presentation.Web.Controls.V2.AJAX - Assembly/package:
SAIF.Presentation.Web.Controls.AJAX.Infragistics111(packaged inSAIF.BOF.Presentation.Web.Infragistics111) - Declared as a nested type of
ModalGridCustomizer; used as the type of itsBindingBehaviorproperty.
Public members¶
| Member | Signature | Purpose |
|---|---|---|
ObjectBinder |
ObjectBinder |
Default value; rebinds the grid by calling InfragisticsGridCustomizer.BindObjectBinder against the clsObjectBindManager named by TargetControls.ObjectBinderId. |
DataBind |
DataBind |
Rebinds the grid by calling InfragisticsGridCustomizer.BindGrid, which invokes the grid's own DataBind method; requires the grid's DataObject to already be set on the page. |
Custom |
Custom |
Rebinds the grid by raising the ModalGridCustomizer.BindGrid event, delegating the actual rebind logic to a handler in the hosting page's codebehind. |
Behavioral notes¶
- The enum value is read once per postback inside
CustomizationPanel_BindGrid; there is no fallback ifCustomis selected but the page never handles theBindGridevent, in which case the grid is simply not rebound. (BR-AJAX-038)
Constraints and usage notes¶
Customrequires the hosting page to subscribe toModalGridCustomizer.BindGrid; otherwise customized columns will not be re-applied to a freshly bound grid. (BR-AJAX-038)DataBindassumes the grid'sDataObject(or equivalent data source) is already configured elsewhere on the page for every postback.*
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.Infragistics111/ModalGridCustomizer.vb