Declined
Last Updated: 14 Jun 2021 10:51 by ADMIN
ADMIN
Marin Bratanov
Created on: 06 Dec 2012 08:33
Category: ToolTip
Type: Feature Request
2
ADD A method that removes a tooltip from the manager's collection
When creating tooltips dynamically it is possible that on a given condition some of them should not be shown anymore. A reference to them can be obtained through the manager (getToolTipByElement(HTMLelement)  method), but they cannot be removed. Calling dispose() removes the handlers, but the JavaScript object remanis, so re-adding a tooltip for the same element is not easily possible. There should be a method like removeToolTipByElement(HTMLelement) or removeToolTip(RadToolTipInstance) that will also remove the JavaScript object, popup element, etc.
2 comments
ADMIN
Rumen
Posted on: 14 Jun 2021 10:51
Declined due to lack of interest by the community for more than 9 years.
sunil
Posted on: 07 Dec 2012 07:08
The "removeToolTipByElement" method will help to remove the tooltip in a simple manner. Similarly please check if it is possible to add/enhance the following methods/properties.

1. Disable Tool Tip : If the tool tip is disabled it will not be displayed untill unless it is enabled.

2. Enable Tool Tip: By default, the tool tip will be enabled. When the tool tip gets enabled, after that whenever the desired events(mouseover, click...etc) will be performed on the target control, the tool tip should be displayed.

3. addClass(className) : We will store this class name in one of the tool tip attribute. Before the tool tip is rendered(OnClientBeforeShow), some default code will be executed to check if class name is there in the attribute, if yes, get the pop up element, and if if the class does not exists for the pop up element, add class to pop up element and then execute the code written by the developers for the OnClientBeforeShow event .

4. removeClass(className) : Similar to addClass