Skip to content

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 UltraWebGrid to customize (GridId), an optional linked control to refresh after applying changes (LinkedRefreshControlID), and the page's object-binder control ID used when BindingBehavior = 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 Class inside ModalGridCustomizer; exposed via ModalGridCustomizer.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/ObjectBinder property getters throw ApplicationException if GridId/ObjectBinderId cannot be resolved to an actual control via Page.FindControl.

Constraints and usage notes

  • GridId must reference an actual UltraWebGrid control on the same page for the customizer to function.
  • ObjectBinderId is only consulted when ModalGridCustomizer.BindingBehavior is set to ModalGridCustomizer.BindingBehaviors.ObjectBinder.

Sources

  • SAIF.Presentation.Web.Controls.AJAX.Infragistics103\ModalGridCustomizer.vb