Class HoverPanel

The HoverPanel class provides an easy to use base AJAX control that allows quick access to server side content from a URL and embed it into the control's content. The control provides various visual customization aspects from shadows, transparency, the ability to drag it around and close it as well as pop up and auto hide.

The most prominent feature of this control is to provide auto-popup functionality that shows context sensitive content while hovering and hiding it when moving off.

<>

For more details on how the control works, see the HoverPanel Windows topic. This control allows calling back to explict URLs either on the same page or calling other URLs within the same site that feed the content to be rendered in the hover panel control.

System.Object
  System.Web.UI.Control
    System.Web.UI.WebControls.WebControl
      System.Web.UI.WebControls.Panel
        Westwind.Web.Controls.DragPanel
          Westwind.Web.Controls.HoverPanel
public class HoverPanel : DragPanel

Class Members

MemberDescription

Constructor

GetCallbackEventReference

Returns an Event Callback reference string that can be used in Client script to initiate a callback request.

public string GetCallbackEventReference(string QueryStringExpression)

AdjustWindowPosition

if set tries to move up the window if it's too low to fit content. This setting can cause problems with very large content.

AutoCloseHoverWindow

Determines whether the window is closed automatically if you mouse off it when the window is a hover window.

ClientCompleteHandler

The client script event handler function called when the remote call completes just before the result content is displayed. Allows modification of the content and possibly blocking of the content by returning false.

ClientID

Override to force simple IDs all around

EventHandlerMode

Determines the how the event is handled on the callback request. ShowHtmlMousePosition shows the result in a window. CallEventHandler fires the specified script function.

HoverOffsetBottom

The bottom offset when the the panel is shown at the mouse position

HoverOffsetRight

The right offset when the the panel is shown at the mouse position

HtmlTargetClientId

The client ID of the control that receives the hoverpanel output. This affects only the HTML if empty the hoverpanel is used.

IFrameHeight

The height of an IFRAME if mode is IFrame related. Use this if you need to specifically size the IFRAME within the rendered panel to get the size just right.

IsCallback

Determines whether this request is a callbackDetermines whether the current request is a callback from the AjaxMethodCallback or HoverPanel control.

NavigateDelay

Determines if the navigation is delayed by a hesitation. Useful for link hovering.

OverrideClientID

Determines whether ClientID and UniqueID values are returned as just as the ID or use full naming container syntax.

PostBackFormName

The name of the form from which values are posted back to the server. Note only a single form's values can be posted back!

PostBackMode

If true causes the page to post back all form variables.

ServerUrl

The Url to hit on the server for the callback to return the result. Note: Not used when doing a MethodCallback

Timeout

The timeout for the server request to retrieve data in milliseconds

UniqueID

Override to force simple IDs all around

Requirements

Namespace: Westwind.Web.Controls
Assembly: westwind.web.webforms.dll

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic