[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Grid View
  [Expand]Tree List
  [Expand]Card View
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Gauges
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Collapse]Docking and Popups
   [Expand]Product Information
   [Expand]Docking
   [Collapse]Hint Control
     Overview
    [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]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [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]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[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

Is this topic helpful?​​​​​​​