SAIFPanel¶
A collapsible, titled panel whose expand/collapse state is tracked in a hidden field so it survives postback, giving pages a reusable collapsible-section building block BR-V2-051.
Purpose¶
- Renders a fixed header/hidden-state/content structure with a dedicated CSS class and script on every instance BR-V2-047, BR-V2-048.
- Hides content via inline style rather than by not rendering it, when collapsed BR-V2-049.
- Persists panel state across postback through the hidden-field value BR-V2-051.
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 |
|---|---|---|
| PanelState | Public Property PanelState As PanelState |
Current expanded/collapsed state; read from and written to the hidden posted field BR-V2-051. |
| CreateChildControls | Protected Overrides Sub CreateChildControls() |
Builds the header, hidden state field, and content panel markup BR-V2-048. |
| LoadPostData | Protected Function LoadPostData(key As String, values As NameValueCollection) As Boolean |
Reads the posted hidden-field value back into PanelState. |
Sources¶
SAIF.Presentation.Web.Controls.V2/SAIFPanel.vb