Kendo ToolTip initially showing old data on show

2 posts, 0 answers
  1. Kelly
    Kelly avatar
    28 posts
    Member since:
    Oct 2012

    Posted 16 Aug 2013 Link to this post

    I have a kendo tool tip that I am updating dynamically depending on a list of checkboxes. Here is the code for the tool tip:
           .Events(e => { e.Show("refreshToolTip"); })
    When the tool tip is shown it is immediately refreshed to update the content using the following function:
    function changeToolTip() {
                var result = "";
                if ($(".dcheck").filter(":checked").length > 0) {
                    var toolTipContent = new Array();
                    $(":checkbox").filter(":checked").each(function () {
                    toolTipContent.forEach(function (e) {
                        result = result + e + "<br/>";
                else {
                    result = "0 selected"
                return result;
            function refreshToolTip() {

    When the tool tip initially is shown it shows the previous content and then it updates. I understand this it because it is going through my loop on the checked boxes but is there a way to hold off on showing the tooltip until it is updated or is there another event I should be using to update my tool tip?
  2. Kiril Nikolov
    Kiril Nikolov avatar
    2596 posts

    Posted 20 Aug 2013 Link to this post

    Hi Paul,

    The Tooltip Widget does not have an event that is fired only when the control is initially loaded. I would suggest you to implement some logic that can determine if the page is loaded for the first time and then reset your filters, but unfortunately there is no built-in functionality that I can offer at the moment.

    If you think that something like this would be useful, please submit it in our feedback forum, so it can be taken into consideration for a future release.
    Kiril Nikolov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top