This is a migrated thread and some comments may be shown as answers.

Hide or destory kendo tooltip

1 Answer 477 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Supriya
Top achievements
Rank 1
Supriya asked on 29 May 2014, 01:52 PM
I am unable to clear kendo tooltip using following code:

var tooltip = $("#div_container").kendoTooltip();
 tooltip.hide();

After doing this it is showing a tooltip with blank content. I want to close whole tooltip on click of Submit button which is on tooltip.
How can I achieve this functionality?

1 Answer, 1 is accepted

Sort by
0
Dimiter Madjarov
Telerik team
answered on 29 May 2014, 03:20 PM
Hello Supriya,


The first line of the sample code initializes a new Tooltip. Nevertheless in order to invoke methods from the Tooltip API, it's instance should be retrieved first via jQuery data() method. You could find a specific example in the hide method documentation.

Let me know if this information helps.

Regards,
Dimiter Madjarov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
General Discussions
Asked by
Supriya
Top achievements
Rank 1
Answers by
Dimiter Madjarov
Telerik team
Share this question
or