Hide or destory kendo tooltip

2 posts, 0 answers
  1. Supriya
    Supriya avatar
    1 posts
    Member since:
    May 2014

    Posted 29 May 2014 Link to this post

    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?
  2. Dimiter Madjarov
    Admin
    Dimiter Madjarov avatar
    2153 posts

    Posted 29 May 2014 Link to this post

    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!
     
Back to Top