ModalGridCustomizer.TargetControlIDData¶
ModalGridCustomizer.TargetControlIDData is the page-declarable, expandable property bag through which a hosting page identifies the target grid and its supporting controls for a ModalGridCustomizer instance.
Purpose¶
- Holds the ID of the
UltraWebGridto customize (GridId), an optional linked control to refresh after applying changes (LinkedRefreshControlID), and the page's object-binder control ID used whenBindingBehavior = ObjectBinder(ObjectBinderId). - Decorated with
TypeConverter(GetType(ExpandableObjectConverter))so the property appears as an expandable sub-property group in the Visual Studio WebForms designer's Properties grid.
Context¶
- Namespace:
SAIF.Presentation.Web.Controls.V2.AJAX - Assembly/package:
SAIF.Presentation.Web.Controls.AJAX.Infragistics103 - Declared as a nested
Public ClassinsideModalGridCustomizer; exposed viaModalGridCustomizer.TargetControls.
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| GridId | Property GridId() As String |
The ID of the UltraWebGrid control on the same page that this customizer manages |
| LinkedRefreshControlID | Property LinkedRefreshControlID() As String |
Optional ID of a WARP (WebAsyncRefreshPanel) refreshed when the user clicks OK/Apply in the popup; if not supplied, the Apply button is not rendered |
| ObjectBinderId | Property ObjectBinderId() As String |
The page's clsObjectBindManager control ID, used only when BindingBehavior = ObjectBinder; defaults to "objBinder" |
Behavioral notes¶
ModalGridCustomizer.TargetGrid/ObjectBinderproperty getters throwApplicationExceptionifGridId/ObjectBinderIdcannot be resolved to an actual control viaPage.FindControl.
Constraints and usage notes¶
GridIdmust reference an actualUltraWebGridcontrol on the same page for the customizer to function.ObjectBinderIdis only consulted whenModalGridCustomizer.BindingBehavioris set toModalGridCustomizer.BindingBehaviors.ObjectBinder.
Sources¶
SAIF.Presentation.Web.Controls.AJAX.Infragistics103\ModalGridCustomizer.vb