How to: Specify Hint Timing
You can display ASPxHint in one of the following ways:
In response to user interaction using the ASPxHint.TriggerAction property.
<dx:ASPxHint ID="ASPxHint1" TargetSelector=".myImage" TriggerAction="HoverAndFocus" runat="server"></dx:ASPxHint> <dx:ASPxImage ID="ASPxImage1" ImageUrl="~/Content/myImage.png" CssClass="myImage" runat="server"></dx:ASPxImage>
Programmatically on the client using the ASPxClientHintOptions.triggerAction property in the ASPxClientHint.Register client-side method’s options parameter.
<dx:ASPxImage ID="ASPxImage1" ImageUrl="~/Content/myImage.png" CssClass="myImage" runat="server"></dx:ASPxImage> <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Button" AutoPostBack="False"> <ClientSideEvents Click="function(s, e) {ASPxClientHint.Register('.myImage', {content: 'sample content', triggerAction: 'hover'});}" /> </dx:ASPxButton> <dx:ASPxHint ID="ASPxHint1" runat="server"></dx:ASPxHint>
See Also