Skip to content

HoverPanelControl

HoverPanelControl is the headered variant of this library's hover-popup family — it renders a title/header row above an indented content row, unlike the plain HoverPanel. It is composed into HoverHelpControl to give static help popups a visible "Help" title bar.

Purpose

  • Renders a two-row popup table (header row + indented content row) anchored to a target control via HoverMenuExtender, only when ContentText is non-empty.
  • Provides a configurable content indent (ContentIndentPixels) so the content row visually aligns under the header.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.AJAX
  • Assembly/package: SAIF.Presentation.Web.Controls.AJAX.Infragistics103

Public members

Member Signature Purpose
DEFAULT_POPUP_POSITION Public Const DEFAULT_POPUP_POSITION As AjaxControlToolkit.HoverMenuPopupPosition = Bottom Default popup position relative to the target control
DEFAULT_CONTENT_INDENT Public Const DEFAULT_CONTENT_INDENT As Integer = 10 Default left-indent (in pixels) applied to the content row
DEFAULT_PANEL_WIDTH Public Const DEFAULT_PANEL_WIDTH As Integer = 300 Default popup panel width in pixels
HeaderText Property HeaderText() As String The title text shown in the popup's header row
ContentText Property ContentText() As String The content text rendered in the popup's content row; the popup is only rendered when this is non-empty
TargetControlId Property TargetControlId() As String The ID of the control that triggers the popup on hover
PopupPosition Property PopupPosition() As AjaxControlToolkit.HoverMenuPopupPosition Where the popup appears relative to the target control
ContentIndentPixels Property ContentIndentPixels() As Integer Left-indent width, in pixels, applied to the content row relative to the header
PanelWidth Property PanelWidth() As Integer The width of the popup panel

Inherited public members

Members in this section are inherited from SAIFAJAXControlAncestor and, transitively, System.Web.UI.WebControls.CompositeControl in the .NET Framework Base Class Library. They are available on this type through inheritance.

Member Signature Purpose Origin
RootObject Protected ReadOnly Property RootObject() As Object Lazily resolves and caches the page's "Model" object for use by this control SAIFAJAXControlAncestor
IsFirefox Protected ReadOnly Property IsFirefox() As Boolean Indicates whether the requesting browser identifies itself as Firefox SAIFAJAXControlAncestor
ID Property ID As String The programmatic identifier assigned to this control instance System.Web.dll — System.Web.UI.Control
Visible Property Visible As Boolean Controls whether this control renders on the page System.Web.dll — System.Web.UI.Control
CreateChildControls Overridable Sub CreateChildControls() Builds this composite control's child control tree System.Web.dll — System.Web.UI.WebControls.CompositeControl
RenderContents Overridable Sub RenderContents(writer As HtmlTextWriter) Renders this composite control's markup to the response stream System.Web.dll — System.Web.UI.WebControls.CompositeControl

Behavioral notes

  • Only renders the header cell's label control if HeaderText is non-empty at CreateChildControls time — an empty header still reserves the header row/cell in the table layout*.

Constraints and usage notes

  • TargetControlId must reference a valid control's UniqueID on the same page for the hover popup to trigger correctly.

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.Infragistics103\HoverPanelControl.vb