Working with the Client-Side > Client-Side Events |
C1ToolTip includes several client-side events that allow you to manipulate the C1ToolTip control when an action such as hiding and showing the tooltip occurs.
You can use the sever-side properties, listed in the Client Side Event table, to specify the name of the JavaScript function that will respond to a particular client-side event. For example, to assign a JavaScript function called "Hidden" to respond when the tooltip is hidden, you would set the OnClientHidden property to "Hidden".
The following table lists the events that you can use in your client scripts. These properties are defined on the server side, but the actual events or the name you declare for each JavaScript function are defined on the client side.
Client Side Event table
Event Server-Side Property Name | Event Name | Description |
---|---|---|
OnClientHidden | Hidden | Triggered once the tooltip is hidden. |
OnClientHiding | Hiding | Triggered before hiding the tooltip. |
OnClientShowing | Showing | Triggered before showing the tooltip. |
OnClientShown | Triggered once the tooltip has shown. | Triggered once the tooltip has shown. |