ConditionsGrid¶
Provides a ready-made, panel-hosted GridView titled "Medical Conditions" that a host page fills from any CollectionBase, so pages do not need to hand-build grid columns and panel chrome for this recurring display BR-V2-052.
Purpose¶
- Builds an explicitly-columned grid (never auto-generated columns) inside a
SAIFPanelon first use BR-V2-053. - Sorts the caller-supplied collection before binding it to the grid BR-V2-054.
- Swallows construction and fill failures silently rather than raising to the host page BR-V2-057.
Context¶
- Namespace:
SAIF.Presentation.Web.Controls.V2 - Assembly/package:
SAIF.Presentation.Web.Controls.V2(packaged inSAIF.BOF.Presentation.Web.Infragistics111.nuspec)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Fill | Public Sub Fill(items As System.Collections.CollectionBase) |
Sorts and binds the supplied collection to the internal grid; invoked whenever the host page has data to display. |
| CreateChildControls | Protected Overrides Sub CreateChildControls() |
Builds the panel-hosted, explicitly-columned grid on first use BR-V2-052. |
| OnPreRender | Protected Overrides Sub OnPreRender(e As EventArgs) |
Re-applies grid setup on every render pass. |
Behavioral notes¶
- Any exception during construction or
Fillis caught and discarded rather than surfaced to the caller BR-V2-057.
Constraints and usage notes¶
- The supplied collection must be sortable by the properties the grid's columns bind to; unsupported shapes will fail silently rather than error visibly.
Sources¶
SAIF.Presentation.Web.Controls.V2/ConditionsGrid.vb