ModalGridCustomizer.TargetControlIDData¶
TargetControlIDData is a public, designer-expandable property class nested inside ModalGridCustomizer. It groups the control IDs that wire ModalGridCustomizer to the rest of the page — which grid it customizes, which object binder rebinds it, and which optional control to refresh on Apply — exposed through the parent control's TargetControls property and rendered as an expandable designer sub-property group via ExpandableObjectConverter.
Purpose¶
- Carries
GridIdto the parent control'sTargetGridreflection lookup (Page.FindControl), which throwsApplicationExceptionif the namedUltraWebGridcannot be found.* - Carries
ObjectBinderIdto the parent control'sObjectBinderreflection lookup, used only whenBindingBehavioris ObjectBinder. - Carries
LinkedRefreshControlID, which determines whether the Apply button is rendered in the customization popup at all. (BR-AJAX-036)
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; exposed on the parent control through theTargetControlsproperty (PersistenceMode.InnerProperty). - Decorated with
<TypeConverter(GetType(ExpandableObjectConverter))>so the ASP.NET Web Forms designer renders it as an expandable node.
Public members¶
| Member | Signature | Purpose |
|---|---|---|
GridId |
Property GridId As String |
ID of the UltraWebGrid on the page that this ModalGridCustomizer customizes; resolved via Page.FindControl and required for the control to function. |
LinkedRefreshControlID |
Property LinkedRefreshControlID As String (default "") |
Optional ID of a WARP (Web Asynchronous Refresh Panel) that is refreshed when the user clicks Apply; when empty, the Apply button is not rendered. (BR-AJAX-036) |
ObjectBinderId |
Property ObjectBinderId As String (default objBinder) |
ID of the clsObjectBindManager control used to rebind the grid when BindingBehavior is ObjectBinder; ignored for the DataBind and Custom binding behaviors. |
Behavioral notes¶
- A
GridIdthat does not resolve to anUltraWebGridon the page causesApplicationExceptionto be thrown from the parent control'sTargetGridproperty the first time it is accessed.* - An
ObjectBinderIdthat does not resolve to aclsObjectBindManagercausesApplicationExceptionto be thrown from the parent control'sObjectBinderproperty, but only whenBindingBehavior = ObjectBinderactually triggers that lookup.*
Constraints and usage notes¶
GridIdis required; the control cannot locate its target grid without it.ObjectBinderIdonly needs to be set (or left at its default ofobjBinder) whenBindingBehavioris ObjectBinder.
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