Log In
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Collapse]Docking and Popups
   [Expand]Product Information
   [Collapse]Hint Control
    [Collapse]Task-Based Help
      Where To Locate a Hint
      How to Set Hint Content
      When To Show a Hint
   [Expand]Loading Panel
   [Expand]Popup Control
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Where To Locate a Hint

The ASPxHint allows you to specify where hints are displayed on a web page in two ways:

Expanded Setting a Target Element

The target element is a DOM-element that invokes a hint window pointing to this element in response to user interaction (hovering the mouse pointer over it, clicking it, etc.) if the callout (ASPxHint.ShowCallout) is enabled.

To specify a target element for a hint, use one of the following ways:

  • ASPxHint.TargetSelector property

    This property specifies for which UI elements a hint is displayed.

  • ASPxClientHint.Show client method

    Use the ASPxClientHint.Show method to invoke a hint. The method's first argument is a target element CSS selector or an HTML DOM node that is the target element itself.

  • ASPxClientHint.Register client method

    Use the Register() client method to register a hint's functionality with the specified settings (target element, trigger action, content, etc.). The method's first argument is a target element CSS selector that specifies for which UI elements on a web page a hint displays.

    Note that a call to the Register() method does not immediately invoke a hint window. This method just registers a hint within a web page and allows end-users to invoke the hint (using the specified trigger action over the selected target element). To display a hint immediately, use the Show() method.

Expanded Setting X/Y Coordinates

To display a hint at precise X/Y coordinates without targeting a UI element, use one of the following ways:

  • Use the ASPxHint.X and the ASPxHint.Y properties.

  • Use the ASPxClientHint.Show (ASPxClientHintOptions options) client method to show a hint at the specified position.

Expanded See Also

How would you rate this topic?​​​​​​​