Skip to content

InfragisticsGridCustomizerList

InfragisticsGridCustomizerList is the per-page collection that lets a model host customization state for multiple grids at once. ModalGridCustomizer expects to find (or create) this list under the model's GridCustomizers property, keyed by grid ID, so a single page with several UltraWebGrid instances can maintain independent customization state for each. (BR-AJAX-021)

Purpose

  • Holds one InfragisticsGridCustomizer per grid ID on a single model, so ModalGridCustomizer can look up the correct instance for its TargetControls.GridId. (BR-AJAX-021)
  • Provides a stable, model-scoped home for customizer state so it survives postbacks for the life of the model (typically session-scoped in the SAIF MVC layer).*

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.AJAX
  • Assembly/package: SAIF.Presentation.Web.Controls.AJAX.Infragistics111 (packaged in SAIF.BOF.Presentation.Web.Infragistics111)
  • Base class: Generic.List(Of InfragisticsGridCustomizer) (.NET Framework)

Public members

This class adds no members beyond those inherited from Generic.List(Of InfragisticsGridCustomizer); ModalGridCustomizer.GridCustomizer locates an entry by matching TargetGridId against each element via a Linq-style lookup rather than through a dedicated indexer or key-lookup method on this class.

Behavioral notes

  • The model must expose a property literally named GridCustomizers of this type for ModalGridCustomizer to find or populate it; a missing property surfaces as the ApplicationException documented on ModalGridCustomizer.GridCustomizer.*

Constraints and usage notes

  • Intended to be created once and reused, not rebuilt on every postback, so that each InfragisticsGridCustomizer's in-memory state (and any unsaved session customizations) persists across the page's lifecycle. (BR-AJAX-021)

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/InfragisticsGridCustomizer.vb